Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new to Telnet. I have been trying to connect to different servers. I type the following command in my Linux terminal:

telnet 74.125.236.160

and then after sometime I get the message:

unable to connect to remote host: connection timed out

What might I be doing wrong?

share|improve this question
add comment

migrated from stackoverflow.com Apr 23 '12 at 2:48

This question came from our site for professional and enthusiast programmers.

3 Answers

Try

ping 74.125.236.160

If ping responds(assuming no firewall blocks it)

telnet 74.125.236.160 <port>

i.e.

telnet 743.125.236.160 80
share|improve this answer
add comment

Somehow I don't think Google (the owner of that range of IP addresses) has allowed remote telnet access for newbie users!

Try something a little more vulnerable and not so well firewalled, like another device on your local LAN such as a network connected printer or your router.

Attempting a telnet connection to outside devices can sometimes be interpreted as launching an attack on them, and appropriate security responses may result.

share|improve this answer
add comment

Have you checked your firewall settings?

Is the ip address correct? Is telnet on the remote system listening on a port that isn't 23?

Can you connect using a different machine? Can you connect to any other machines?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.