From 3e5641470afd3c1aea6273c47bc6fb9c326a8d79 Mon Sep 17 00:00:00 2001 From: Brandon Lopez Date: Fri, 27 Jul 2018 16:16:05 -0700 Subject: [PATCH] FIx srv.bin to work -- listens on 0.0.0.0 --- bin/srv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/srv.py b/bin/srv.py index e55fb46..ce646aa 100644 --- a/bin/srv.py +++ b/bin/srv.py @@ -6,7 +6,7 @@ Main server program. """ from __future__ import print_function -from gevent.wsgi import WSGIServer +from gevent.pywsgi import WSGIServer from gevent.monkey import patch_all patch_all() @@ -204,5 +204,5 @@ def answer(topic=None): return result return Response(result, mimetype='text/plain') -SRV = WSGIServer(("", 8002), app) # log=None) +SRV = WSGIServer(("0.0.0.0", 8002), app) # log=None) SRV.serve_forever()