Server port is open in Network firewall as well as iptables disabled on server.

We able to telnet port in same network but unable to telnet using localhost/ and using different network.

Find below output which will be help you to analyse issue.

**[root@localhost ~]# netstat -paln | grep 40901

tcp 0 0* LISTEN 48292/./as-agent

[root@localhost ~]# telnet 40901


Connected to

Escape character is '^]'.


telnet> quit

Connection closed.

[root@localhost ~]# telnet localhost 40901

Trying ::1...

telnet: connect to address ::1: Connection refused


telnet: connect to address Connection refused**


Your application only bound to You cannot reach it on any other address.

To resolve the problem, change the application's settings.


Not the answer you're looking for? Browse other questions tagged or ask your own question.