http://www.perlmonks.org?node_id=856471


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.