Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Crackers2 (Vicar)
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.


Comment on Re: Starting a server on a machine whose IP is specified
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2014-07-13 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls