none
Unable to telnet the IP

    Question

  • Hi,

    I tried to put putty to telnet

    173.194.79.27

    that is IP of Gmail.com

    on port 25

    in Win 7 Professional machine with one public IP inside, but I got no success. Why?


    Many Thanks & Best Regards, Hua Min

    Tuesday, May 08, 2012 4:23 AM

Answers

All replies

  • Well there can be two likely reasons why it does not work:

    • Firewall on your end
    • Google's Firewall


    Tuesday, May 08, 2012 6:33 AM
  • Thanks. What should be adjusted on my firewall?

    Many Thanks & Best Regards, Hua Min

    Tuesday, May 08, 2012 6:37 AM
  • Well if you want to test if it is your firewall you could disable it for a moment, try to telnet gmail.com on port 25. If it works with your firewall disabled then you could add in an allow rule that allows traffic on port 25 to gmail.com or the ip address you specified.
    Tuesday, May 08, 2012 6:51 AM
  • Hi,

    I created one connection rule like the following on the machine.

    but I still see no success to telnet it.


    Many Thanks & Best Regards, Hua Min

    Tuesday, May 08, 2012 7:08 AM
  • No idea, I do not know for certain if gmail.com is supposed to accept telnet at port 25. Can you try to telnet to: telnet gmail-smtp-in.l.google.com 25 to see if that works?

    Also this article from google gives some other ports you can attempt to telnet to:

    Enter 'telnet smtp.gmail.com 465,' and hit Enter, or if you're using Outlook 2007, enter 'telnet smtp.gmail.com 587' instead. (Does the information in the prompt window clear? If not, please note the message that appears.)

    http://support.google.com/mail/bin/answer.py?hl=en&answer=78775

    Furthermore, if it does not work and it should be working make sure you eliminate all hardware issues by directly connecting your computer to the modem, with no routers, firewalls or other network equipment in between. Lastly there are many ISPs and Governments around the world that block access to websites or perform a form of traffic shaping that disallows you from accessing content on the web. If you want to verify if that is the case try to use a proxy or vpn and then execute the command.

    Wednesday, May 09, 2012 6:12 AM
  • Many thanks Jaap. I also got the failures when I telnet gmail-smtp-in.l.google.com 25 or smtp.gmail.com 465.

    When I telnet smtp.gmail.com 587, I’ve got

    does it mean fine above? If yes, does it mean my ISP is blocking some ports?


    Many Thanks & Best Regards, Hua Min

    Wednesday, May 09, 2012 6:54 AM
  • Hi,

    May I know the result when you disable your firewall?

    \>telnet **.**.**.** 25

    Maybe it is probably a setting somewhere in your network.

    Here is an article can be referred to.

    Cannot send or receive e-mail messages behind a Cisco PIX or Cisco ASA firewall

    http://support.microsoft.com/kb/320027


    Ivan-Liu

    TechNet Community Support

    Wednesday, May 09, 2012 7:36 AM
  • Thanks Ivan. Even if I’ve turned off firewalls, I still do not see a success when telnet 173.194.79.27

    on port 25


    Many Thanks & Best Regards, Hua Min

    Wednesday, May 09, 2012 8:00 AM
  • Hi Hua

    You shoul enable telnet in your computer

    Control Panel - Programs and Features - turn windows features on or off - ceck box telnet client


    Mohamed Abd Elhamid Abd Elaziz Microsoft System Administrator My blog: http://Mabdelhamid.wordpress.com/

    Wednesday, May 09, 2012 8:08 AM
  • Thanks Mohamed. I turned "Telnet client" feature on but I still got the same.

    Many Thanks & Best Regards, Hua Min

    Wednesday, May 09, 2012 8:20 AM
  • try start in search typ cmd then right click in it run as administrator and type

     telnet 173.194.79.27 25

    you will get this pic means success


    Mohamed Abd Elhamid Abd Elaziz Microsoft System Administrator My blog: http://Mabdelhamid.wordpress.com/

    Wednesday, May 09, 2012 8:42 AM
  • Actually I used Putty to do telnet. Here I've already run Putty "as Administrator" but still I got no improvement.

    Many Thanks & Best Regards, Hua Min

    Thursday, May 10, 2012 2:58 AM
  • Hi,

    When I telnet 173.194.79.27 25 and get the result. The result of telnet smtp.gmail.com 587.

    To telnet gmail-smtp-in.l.google.com 25 or smtp.gmail.com 465 will not get results.


    Ivan-Liu

    TechNet Community Support


    • Edited by Ivan-Liu Thursday, May 10, 2012 7:28 AM
    Thursday, May 10, 2012 7:22 AM

  • Ivan-Liu

    TechNet Community Support

    Thursday, May 10, 2012 7:29 AM
  • Hi,

    Can you pls advise for these?

    C:\Users\HP>telnet 173.194.79.27 25

    Connecting To 173.194.79.27...Could not open connection to the host, on port 25:

     Connect failed

     

    C:\Users\HP>telnet smtp.gmail.com 587

     

    220 mx.google.com ESMTP z2sm8703818pbv.34

     

    C:\Users\HP>telnet smtp.gmail.com 465

    No feedback and it is waiting for something long time there

     

    C:\Users\HP>telnet smtp.gmail.com

    Connecting To smtp.gmail.com...Could not open connection to the host, on port 23

    : Connect failed

     

    C:\Users\HP>telnet pop.gmail.com

    Connecting To pop.gmail.com...Could not open connection to the host, on port 23:

     Connect failed


    Many Thanks & Best Regards, Hua Min

    Thursday, May 10, 2012 7:42 AM
  • Should add port number.

    >telnet pop.gmail.com 25

    >telnet smtp.gmail.com 25

    >telnet smpt.gmail.com 587

    Since some ports are set as SSL, I suggest you contact Google for assistance about the gmail port settings.

    smtp.gmail.com >> 74.125.127.108,  pop.gmail.com >> 173.194.79.108 


    Ivan-Liu

    TechNet Community Support

    Friday, May 11, 2012 5:40 AM
  • Here are what I get

    C:\Users\HP>telnet pop.gmail.com 25

    Connecting To pop.gmail.com...Could not open connection to the host, on port 25:

     Connect failed

     

    C:\Users\HP>telnet smtp.gmail.com 25

    Connecting To smtp.gmail.com...Could not open connection to the host, on port 25

    : Connect failed

     

    C:\Users\HP>telnet smpt.gmail.com 587

    Connecting To smpt.gmail.com...Could not open connection to the host, on port 587

    : Connect failed

    Can you tell me if you’re able to telnet 173.194.79.27 on port 25 or not?


    Many Thanks & Best Regards, Hua Min


    Friday, May 11, 2012 6:17 AM
  • I can telnet 173.194.79.27 25 (twice, the results screenshots below)

    I check the smtp.gmail.com and pop.gmail.com, neither of them is 173.194.79.27.


    Ivan-Liu

    TechNet Community Support

    Friday, May 11, 2012 7:29 AM
  • But I do not see you telnet it on port 25.

    If you can do it, I think the difference between us is not related to Gmail, right?


    Many Thanks & Best Regards, Hua Min

    Tuesday, May 15, 2012 2:10 AM
  • Hi,

    I have typed 25, otherwise the result is error.


    Ivan-Liu

    TechNet Community Support

    Tuesday, May 15, 2012 5:32 AM
  • Sorry for that I do not see "25" in your current reply!

    Many Thanks & Best Regards, Hua Min

    Tuesday, May 15, 2012 6:20 AM

  • Ivan-Liu

    TechNet Community Support

    Wednesday, May 16, 2012 1:28 AM
  • Thanks. Do you think this problem is due to a restriction from my ISP?


    Many Thanks & Best Regards, Hua Min

    Wednesday, May 16, 2012 2:12 AM
  • If another endpoint in your current network environment gets the same result, you may contact your ISP.

    Ivan-Liu

    TechNet Community Support

    Thursday, May 17, 2012 2:07 AM