Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Starting a server on a machine whose IP is specified

by Crackers2 (Parson)
on Aug 21, 2010 at 15:53 UTC ( #856471=note: print w/replies, xml ) Need Help??

in reply to Starting a server on a machine whose IP is specified

Maybe I'm reading this wrong, but it sounds to me as if you're trying to run the server script on your local machine while passing it the IP address of the machine where you want to run it as a parameter, and are expecting the bind call to magically start listening on the remote machine.

Things don't work that way. If you want your server to run on the remote machine, you have to run your code there. You can either copy it manually yourself before you run it from that machine, or you can have the script copy itself to the remote machine.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://856471]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-11-24 17:11 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (351 votes). Check out past polls.