http://www.perlmonks.org?node_id=929527


in reply to Re^8: Time out error as I connect to remote desktop server using telnet
in thread Time out error as I connect to remote desktop server using telnet

You've specified port 80 when connecting. Telnet does not usually run on port 80. Port 80 is typically used for HTTP, telnet typically uses port 23. Either don't specify a port at all or provide the correct one.

If you're confused by telnet type man telnet at the command prompt.

  • Comment on Re^9: Time out error as I connect to remote desktop server using telnet
  • Download Code

Replies are listed 'Best First'.
Re^10: Time out error as I connect to remote desktop server using telnet
by Anonymous Monk on Oct 04, 2011 at 12:27 UTC

    hi marto

    I typed in command prompt like telnet xx.xxx.xxx.xxx 80 .It shows empty command prompt.In that command prompt title is like C:\ telnet xx.xxx.xxx.xxx after some time it is closed

    If i use another port it shows connection failed error

    how to identify if connection made between two server

      We're now way off topic, this has nothing to do with Perl. As Corion suggests, you either need to go ask your sys/network admin or spend some time learning the basics of how this works.

        marto

        ya we are now way off topic.i will clarify my doubt to sysadmin. My aim is to connect to Remote Desktop Connection using mstsc in windows xp. after connecting i need to Login and need to execute my script .I am doing that manually.I want to automate that .that is my aim.For that i used telnet to connect to Remote Desktop Connection using mstsc.

        regarding this if you have any idea .Let me know