2009/7/11 C. Howell <[email protected]>: > > Hello! > > I am trying to figure out to set a custom port and IP in my web.py > application. The startup looks like below. > > What would be the appropriate place to set the IP and port?
you can pass ip and port as command line arguments to the port. If you wish to hardcode it in the code then write the following line before calling main(). sys.argv[1:] = [ip, port] or sys.argv[1:] = [port] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
