in reply to Re^2: perl only listen in 127.0.0.1
in thread perl only listen in 127.0.0.1
Tells the server to bind to the localhost.my $listen_socket = IO::Socket::INET->new(LocalPort => $port, LocalAddr => 'localhost', # <<<<<<<<< H E R E <<<<<<<< Listen => 1000, Proto => 'tcp',
Simply remove or comment out the line, and it will bind to all interfaces.
Potentia vobiscum ! (Si hoc legere scis nimium eruditionis habes)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl only listen in 127.0.0.1
by vzunigam (Initiate) on May 23, 2009 at 22:12 UTC |