Manage HTTP servers with CherryPy.
An adapter for an HTTP server.
You can set attributes (like socket_host and socket_port) on this object (which is probably cherrypy.server), and call quickstart. For example:
cherrypy.server.socket_port = 80 cherrypy.quickstart()
The hostname or IP address on which to listen for connections.
Host values may be any IPv4 or IPv6 address, or any valid hostname. The string ‘localhost’ is a synonym for ‘127.0.0.1’ (or ‘::1’, if your hosts file prefers IPv6). The string ‘0.0.0.0’ is a special IPv4 entry meaning “any active interface” (INADDR_ANY), and ‘::’ is the similar IN6ADDR_ANY for IPv6. The empty string or None are not allowed.