diff --git a/bot.py b/bot.py index 608706a..de6f37b 100644 --- a/bot.py +++ b/bot.py @@ -56,7 +56,7 @@ async def start_websocket(): username, password, realm, port = config.WEBSOCKET async with websockets.serve( bot.handle_websocket, - "localhost", + "127.0.0.1", port, create_protocol=websockets.basic_auth_protocol_factory( realm=realm, credentials=(username, password)