Exception in thread "main" java.net.BindException: Address already in use: NET_Bind

在Java开发Socket中,可能会出现以下信息: Exception in thread "main" java.net.BindException: Address already in use: NET_Bind 这是由于端口被占用了。 解决的办法有以下几种: 1、更改程序中“ServerSocket ser = new ServerSocket(12333);”中的端口为其他端口 2、如果
相关文章
相关标签/搜索