From f90c4f40c82383e124fdcffb75fc42555a70d17e Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 31 Jul 2024 23:12:26 +0000 Subject: [PATCH] `::`, not `::1` --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 87638a0..e8b6121 100755 --- a/server.py +++ b/server.py @@ -613,7 +613,7 @@ async def runServer(address: str, port: int): sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # Reuse socket sock.bind((address, port)) except OSError as E: - if E.errno != 97 or address != '::1': + if E.errno != 97 or address != '::': raise E sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # Reuse socket