in reply to Net::Telnet - cant able to connect from public IP to public IP
The obvious question is, can you connect using a regular telnet client? If so, where does your connection with Net::Telnet go wrong? Does the connection succeed at the TCP/IP level? Does the other side issue a login/password prompt? Is your password correct? Is your regex for the prompt correct - it looks very suspicious to me, it matches lines where the second character is a >, and it's preceded by a character that isn't a space, a <, or a -? Do you get a timeout? Do you get an error message? Do you have Net::Telnet installed?
Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Net::Telnet - cant able to connect from public IP to public IP
by sris (Initiate) on Jun 24, 2004 at 11:56 UTC | |
by Abigail-II (Bishop) on Jun 24, 2004 at 12:06 UTC | |
by sris (Initiate) on Jun 24, 2004 at 12:39 UTC | |
by Abigail-II (Bishop) on Jun 24, 2004 at 12:48 UTC |
In Section
Seekers of Perl Wisdom