webserver: listen on 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
parent
09e310277d
commit
729d29b8a7
@ -95,7 +95,7 @@ def main():
|
||||
basedir = os.path.realpath(os.path.dirname(sys.executable))
|
||||
app.template_folder = os.path.join(basedir, 'integration', 'templates')
|
||||
port = int(sys.argv[1])
|
||||
server = WSGIServer(('0.0.0.0', port), app)
|
||||
server = WSGIServer(('127.0.0.1', port), app)
|
||||
|
||||
signal.signal(signal.SIGTERM, lambda *args: server.stop())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user