Bernard,
we need to come up with a port range that is open for dev tools such as MyEclipse. If only a range of ports was available, would MyEclipse/Eclipse still be able to function (open a random unused port in the range) ?
This is likely possible, but it’s a Java-specific issue not a product-specific issue. We ride on top of the Eclipse debugger, and it uses java.net to set up the socketry for debug sessions. It’s done like this in org.eclipse.jdt.internal.launching.StandardVMDebugger:
arguments.add("-Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:" + port);
The ‘port’ is determined by a call to java.net.ServerSocket:
socket= new ServerSocket(0).getLocalPort();
So, limiting the ports returned is a matter of limiting the number of ports that the java.net implementation will look at when this code is called. There are likely some special -D arguments that can be added to the commandline to configure this, but I wasn’t able to determine what they might be or even if they exist. In any event, it’s at a much lower level of configuration than is offered by either Eclipse or MyEclipse (or likely any other Java IDE’s, for that matter).