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/127.0.0.1 and using different network.
Find below output which will be help you to analyse issue.
**[[email protected] ~]# netstat -paln | grep 40901
tcp 0 0 10.141.36.41:40901 0.0.0.0:* LISTEN 48292/./as-agent
[[email protected] ~]# telnet 10.141.36.41 40901
Connected to 10.141.36.41.
Escape character is ‘^]’.
[[email protected] ~]# telnet localhost 40901
telnet: connect to address ::1: Connection refused
telnet: connect to address 127.0.0.1: Connection refused**
Your application only bound to 10.141.36.41. You cannot reach it on any other address.
To resolve the problem, change the application’s settings.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.