From 726adf7c73b227aa12b635d08ce195e99df44692 Mon Sep 17 00:00:00 2001 From: William Barnhart Date: Sun, 6 Aug 2023 18:08:42 -0400 Subject: [PATCH] Update fixtures.py to use "127.0.0.1" for local ports --- test/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures.py b/test/fixtures.py index 26fb5e89d..d9c072b86 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -25,7 +25,7 @@ def get_open_port(): sock = socket.socket() - sock.bind(("", 0)) + sock.bind(("127.0.0.1", 0)) port = sock.getsockname()[1] sock.close() return port