make_server(app,
bind_addr,
*args,
**kwargs)
| source code
|
Make a server for an application.
This uses CherryPy's standalone WSGI server. The first argument is the
WSGI application to run; all subsequent arguments are passed directly to
the server. The CherryPyWSGIServer is accessible as
wsgiwebapi.cpwsgiserver: see the documentation in that module for calling
details.
Note that you will always need to set the bind_addr parameter; this is a
(host, port) tuple for TCP sockets, or a filename for UNIX sockets. The
host part may be set to '0.0.0.0' to listen on all active IPv4 interfaces
(or similarly, '::' to listen on all active IPv6 interfaces).
|