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


in reply to Re^6: 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

I have no idea what "planet server" means. Stop testing your program and ensure that you can connect from Server A to Server B using telnet at the command prompt. Then test your perl script using Net::Telnet to connect from Server A to Server B. Again, check with your sysadmin/network admin.

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

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

    hi marto

    I typed in command prompt like telnet xx.xxx.xxx.xxx 80

    Is this correct one to connect from Server A to Server B using telnet at the command prompt

      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.

        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

      This has nothing at all to do with Perl. Please ask your system administrator for advice on how to operate your computer and the servers. They will also know the network parameters.