我有一个在 Firefox 中运行的 JavaApplet,当我刷新页面时,JavaApplet 会重新加载,但出现以下错误:
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
我有 ServerSocket.close(); 在终于喜欢无处不在。不知道我错过了什么,请帮忙。