Skip to content

Commit 719b224

Browse files
committed
Listen on 0.0.0.0
1 parent a8bec78 commit 719b224

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tutorials/a-simple-walkthrough/astre.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def run():
4343
cherrypy.config.update({
4444
"environment": "production",
4545
"log.screen": True,
46+
"server.socket_host": "0.0.0.0",
4647
"server.socket_port": 8444,
4748
"server.ssl_module": "builtin",
4849
"server.ssl_private_key": os.path.join(cur_dir, "key.pem"),

tutorials/a-simple-walkthrough/sunset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def run():
3030
cherrypy.config.update({
3131
"environment": "production",
3232
"log.screen": True,
33+
"server.socket_host": "0.0.0.0",
3334
"server.socket_port": 8443,
3435
"server.ssl_module": "builtin",
3536
"server.ssl_private_key": key_path,

0 commit comments

Comments
 (0)