Set ipv4 address explicitly for docker usage

This commit is contained in:
marblepebble 2017-08-18 21:53:52 +01:00 committed by GitHub
parent 15895f4055
commit 97f573c41a

View File

@ -3094,5 +3094,5 @@ def upload():
def start_gevent():
from gevent.wsgi import WSGIServer
global gevent_server
gevent_server = WSGIServer(('', ub.config.config_port), app)
gevent_server = WSGIServer(('0.0.0.0', ub.config.config_port), app)
gevent_server.serve_forever()