in reply to Unable to connect remotely
When you create your socket:
my $sock = new IO::Socket::INET( LocalHost => 'localhost', LocalPort => $port,
you tell it to only listen on localhost. Which likely is not what you want. Maybe you want to omit the LocalHost parameter alltogether, so it listens on all interfaces?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable to connect remotely
by bucz (Novice) on Oct 11, 2009 at 19:51 UTC |