Just add it as an additional parameter.

eg: python code.py a.b.c.d:port

and it will listen on the ip address a.b.c.d at the specified port.

On Jun 10, 1:40 pm, Alex <[email protected]> wrote:
> I have two IPs attached to my server. WebPy is serving at the first IP
> by default. How do I change it to serve at the second one?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to