On May 18, 2011, at 8:04 AM, Mark Erbaugh wrote:

> 1) When you first launch a webpy app using the built-in web server, it 
> displays the IP address and port on which the server is listening as 
> 0.0.0.0:8080.  Is there a way to get this to display the IP address that is 
> actually be used to connect to the server from another machine on the network?

I'll answer one of my questions:

import socket

x = socket.getaddrinfo(socket.gethostname(), None)



-- 
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