java.rmi.ConnectException: Connection refused to host: <public IP> -
i'm using cisco netflow collector software , collecting netflow data expected until server admin disabled iptables , security admin enabled firewall server. giving below exception.
the collector running on internal/private server , cisco nfc license tied public ip , hence hostname set public ip in /etc/hosts file
[2015-09-29 12:03:41 gmt+05:30] info com.cisco.nfc.cnsxml.cnsxmlmonitor - starting cns/xml interface nfc 6.0.0 [standard image, build 31]... [2015-09-29 12:06:51 gmt+05:30] error com.cisco.nfc.cnsxml.cnsxmlmonitor - not start cns event service transport java.rmi.connectexception: connection refused host: <public ip>; nested exception is: java.net.connectexception: connection timed out @ sun.rmi.transport.tcp.tcpendpoint.newsocket(tcpendpoint.java:574) @ sun.rmi.transport.tcp.tcpchannel.createconnection(tcpchannel.java:185) @ sun.rmi.transport.tcp.tcpchannel.newconnection(tcpchannel.java:171) @ sun.rmi.server.unicastref.newcall(unicastref.java:306) @ sun.rmi.registry.registryimpl_stub.rebind(unknown source) @ java.rmi.naming.rebind(naming.java:160) @ com.cisco.nfc.cnsxml.cnsxmlmonitor.<init>(cnsxmlmonitor.java:163) @ com.cisco.nfc.cnsxml.cnsxmlmonitor.main(cnsxmlmonitor.java:192) caused by: java.net.connectexception: connection timed out @ java.net.plainsocketimpl.socketconnect(native method) @ java.net.plainsocketimpl.doconnect(plainsocketimpl.java:333) @ java.net.plainsocketimpl.connecttoaddress(plainsocketimpl.java:195) @ java.net.plainsocketimpl.connect(plainsocketimpl.java:182) @ java.net.sockssocketimpl.connect(sockssocketimpl.java:366) @ java.net.socket.connect(socket.java:519) @ java.net.socket.connect(socket.java:469) @ java.net.socket.<init>(socket.java:366) @ java.net.socket.<init>(socket.java:179) @ sun.rmi.transport.proxy.rmidirectsocketfactory.createsocket(rmidirectsocketfactory.java:22) @ sun.rmi.transport.proxy.rmimastersocketfactory.createsocket(rmimastersocketfactory.java:128) @ sun.rmi.transport.tcp.tcpendpoint.newsocket(tcpendpoint.java:569) ... 7 more
the sec admin has allowed ports 22 , 1099 yet above exception thrown. need change configuration in server or in firewall?
this issue resolved using new license cisco generated using private ip. vishawanath , ejp help.
Comments
Post a Comment