Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Time out error as I connect to remote desktop server using telnet

by Corion (Pope)
on Oct 04, 2011 at 09:48 UTC ( #929485=note: print w/ replies, xml ) Need Help??


in reply to Time out error as I connect to remote desktop server using telnet

So, have you checked that the prompt you get from the Windows machine is the prompt you have defined? Have you looked into the debug options that Net::Telnet has? What happened when you tried them?


Comment on Re: Time out error as I connect to remote desktop server using telnet
Re^2: Time out error as I connect to remote desktop server using telnet
by Anonymous Monk on Oct 04, 2011 at 11:00 UTC

    Hi Corion

    ya i looked at code.I changed my code like this

    use Net::Telnet(); $telnet = new Net::Telnet (Timeout => 10, Prompt => '/\$ $/i'); $telnet->open(host=>'xx.xxx.xxx.xxx', Port => 80); $telnet->login('username', 'password'); print $telnet->cmd('who');

    Is this correct one?If it is correct Still i am getting Same error

    Can You give me idea to connect remote desktop connection using mstsc

    Regards,

    Senthil

      Can you connect using telnet from the Windows command prompt?

      Update: are you the same Senthil who asked about mstsc here?

        hi

        In command prompt I typed telnet It shows access is denied

        Is this correct one to connect using telnet

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-10-25 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls