in the time between our finding it and using it for the test jvm jdwp port, there is nothing preventing the os from reusing the port we just ascertained to be unused a moment before. depending on port allocation scheme, may even be more likely than, say, trying random numbers above 10000 or something until it doesn't fail.
in the time between our finding it and using it for the test jvm jdwp port, there is nothing preventing the os from reusing the port we just ascertained to be unused a moment before. depending on port allocation scheme, may even be more likely than, say, trying random numbers above 10000 or something until it doesn't fail.