Exception in thread “main” java.net.BindException: Address already in use - Error in Netbeans only

前端 未结 5 1323
不知归路
不知归路 2021-01-18 14:44

On my machine, the following code compiles within Eclipse but throws an exception within Netbeans. The error message says \"Exception in thread \"main\" java.net.BindExcept

5条回答
  •  再見小時候
    2021-01-18 14:49

    If you write this in Windows OS,you can use "netstat -nao" to see which process use the 9999 port.If it is some unimportant process,you can kill this process.Otherwise you can change the port of the pragram.

提交回复
热议问题