Commit 645eda6c authored by nanahira's avatar nanahira

for docker

parent a0228faf
......@@ -337,6 +337,6 @@ async def connection(ws, path):
port = int(sys.argv[1]) if len(sys.argv) > 1 else 34802
print('Starting server on port %d' % port)
asyncio.get_event_loop().run_until_complete(
websockets.serve(connection, "localhost", port)
websockets.serve(connection, "0.0.0.0", port)
)
asyncio.get_event_loop().run_forever()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment