-
Improvement
-
Resolution: Fixed
-
Minor
-
None
In the source code there is for loop to pick up the right port this leads to various outputs in the console trying to start a webserver.
It would be a better option to add function to retrieve a random open port for this.
Something like:
public static int findFreePort() {
ServerSocket socket= null;
try
catch (IOException e) {
} finally {
if (socket != null) {
try
catch (IOException e) {
}
}
}
return -1;
}
(this function template is taken from org.eclipse.jdt.launching.SocketUtil)
Best regards,
Falk