From 04c4e4d4721a3bab0b6b105df9bbacf4373337c7 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Wed, 12 Aug 2020 01:28:16 +1200 Subject: [PATCH] Use host 0.0.0.0 --- index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.py b/index.py index a15c637..219e0bd 100644 --- a/index.py +++ b/index.py @@ -553,5 +553,5 @@ class Second(object): cherrypy.response.headers["content-type"] = r.headers["content-type"] return r # no idea if this is a good way to do it, but it definitely works! :D -cherrypy.config.update({"server.socket_port": 3000}) +cherrypy.config.update({"server.socket_port": 3000, "server.socket_host": "0.0.0.0"}) cherrypy.quickstart(Second())