java.net.ConnectException: Connection refusedjava.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at ism.config.FtpClient.<init>(FtpClient.java:35)
at ism.config.IsmConfigManagerImpl.checkFTP(IsmConfigManagerImpl.java:337)
at ism.config.IsmConfigManagerImpl.insertNode(IsmConfigManagerImpl.java:277)
at ism.config.IsmConfigManagerImpl.insertNode(IsmConfigManagerImpl.java:1136)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
备注:监听端口状态为
command: netstat -an|grep 22120
*.22120 *.* 0 0 128000 0 LISTEN
*.22120 *.* 0 0 128000 0 LISTEN
求思路~~~
------解决方案--------------------
看上去是网络连接问题,但是具体为什么,不知道~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`