标签:convert .so get source fuse 打印 eth 错误 method
java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) ...
我这里是出现端口被占用的状况,可以:
8080
)的进程,释放端口;Tomcat
服务器,或者重新启动项目。这里选择后者,也是在没有端口冲突的情况下较为普遍的方法,步骤可参考:
linux下tomcat服务器的启动和关闭以及查看实时打印日志
java.net.ConnectException: Connection refused 异常
标签:convert .so get source fuse 打印 eth 错误 method
原文地址:https://www.cnblogs.com/zishu/p/9076212.html