I\'m using python and CherryPy to create a simple internal website that about 2 people use. I use the built in webserver with CherryPy.quickstart and never messed with the c
server.socket_host: '0.0.0.0'
...would also work. That's IPv4 INADDR_ANY, which means, "listen on all interfaces".
In a config file, the syntax is:
[global] server.socket_host: '0.0.0.0'
In code:
cherrypy.server.socket_host = '0.0.0.0'