diff --git a/server.py b/server.py index aafcad4..93152d3 100644 --- a/server.py +++ b/server.py @@ -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()