问题描述
java.net.ConnectException:Connectionrefused:connectatjava.net.DualStackPlainSocketImpl.connect0(NativeMethod)atjava.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)atjava.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)atjava.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)atjava.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)atjava.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)atjava.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)atjava.net.Socket.connect(Socket.java:579)atjava.net.Socket.connect(Socket.java:528)atjava.net.Socket.<init>(Socket.java:425)atjava.net.Socket.<init>(Socket.java:208)atcom.smh.control.ControlLED.connServer(ControlLED.java:24)atcom.smh.control.ControlLED.start(ControlLED.java:37)atcom.smh.service.Judge.JudgeData(Judge.java:139)atcom.smh.service.Servicer.run(Servicer.java:36)atjava.lang.Thread.run(Thread.java:724)
解决方案
解决方案二:
网络不通.