Portal Home > Knowledgebase > Articles Database > We can not connect to a ip address from our server


We can not connect to a ip address from our server




Posted by jpayam, 01-29-2011, 04:11 PM
Hi We have problem to connect to a ip address from our server, by telnet we receive Connection timed out but tracert and ping works fine! also this ip not blocked by our firewall also there is not any block on XX.XXX.XXX.XX server and we can connect to this ip our othere server without any problem # telnet XX.XXX.XXX.XX Trying XX.XXX.XXX.XX... telnet: connect to address XX.XXX.XXX.XX: Connection timed out telnet: Unable to connect to remote host: Connection timed out what is the problem?

Posted by jpayam, 01-29-2011, 04:12 PM
our server is CENTOS 5.5/WHM

Posted by asciiDigital, 01-29-2011, 05:57 PM
What's the IP?

Posted by Squidix - SamBarrow, 01-30-2011, 12:52 AM
Are you sure telnet is running? Turn off your firewall too, the default CentOS firewall is pretty strict, type "service iptables stop"

Posted by jpayam, 01-30-2011, 12:59 AM
ip address is 81.91.159.169 and problem not fixed by Turning off the firewal thanks

Posted by mugo, 01-30-2011, 03:06 AM
Telnet daemon is not on by default on CentOS (and highly discouraged to run), can you hit any other port that is running on the box? If you don't have telnet on, you will not get a response. You can specify another port with telnet, which I think is what you may have confused by instructions you received from somewhere...for instance, if you have a web server, you can > telnet 81.91.159.169 80 (telnet to your IP on port 80) And get a response from the web server. I telnetted to your IP on port 80, got a response. On port 21 (default telnet), no response. In short, you simply don't have telnet running as a service, and if you don't specify some other port, you are not going to get a response.

Posted by jpayam, 01-30-2011, 03:19 AM
we have telnet and telnet on port 80 also not response we receive response on both ping and tracert! p.s: this ip not working on internet bower on my centos server also

Posted by jpayam, 01-30-2011, 08:49 AM
ip was not in iptable! but problem fixed by disabling the iptable by below commands not only by "service iptables stop" # service iptables save # service iptables stop # chkconfig iptables off now i run "service iptables start" again seems iptables work but how can sure that iptable now working fine again?

Posted by jpayam, 01-30-2011, 03:47 PM
problem again! i think there is networks problem

Posted by winlinuxadmins, 01-30-2011, 04:23 PM
Bingo Network issue Hye if you can check telnet from your local system to same server at the same time when you get the problem from the mention server above so it prove if its network issue or the problem within the 2 server you talking about.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Registerfly down? (Views: 428)
Vyatta Help (Views: 433)

Language: