I am reproducing this on windows 10, java 11 and java 8, but the following scenario is happening:
- try to start tomcat application server with intellij
- tomcat fails to start because of bind port failure
- port 1099 becomes unusable for any other application
The port is actually never open, by looking at netstat -qno, or netstat -ano with administrator rights, the entry never actually shows up, so no process is actually using it.
If I try restarting tomcat with a different port, the same problem repeats but now we have a different unusable port. If I restart my computer the port is free again, but as soon as I try to start tomcat, the problem repeats.
It seems to me like intellij/tomcat is messing up server/port/bind on windows and produces an unusable port.
netsh interface ipv4 show excludedportrange protocol=tcpwould reveal the ports blocked/excluded, Hyper-V is known to incorrectly exclude huge port ranges. - CrazyCoder