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?
2) Is there a way that a web page handler could terminate the web server, and thus the webpy app? I'd like to have a link on one of the pages that says terminate server. I realize that this is unusual, but I've ported a desktop app to webpy so that it can be multi-user and it would be nice if I could have an option to terminate the server. Currently, I run the server in a terminal window (Linux/Mac) or a command window (Windows) and must go to that window on the server and shut the app down with a Ctrl-C. Thanks, Mark -- 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.
