diff --git a/tests/test_exposition.py b/tests/test_exposition.py index be555f98..ebfc957b 100644 --- a/tests/test_exposition.py +++ b/tests/test_exposition.py @@ -102,7 +102,7 @@ def do_PUT(self): do_POST = do_PUT do_DELETE = do_PUT - httpd = HTTPServer(('', 0), TestHandler) + httpd = HTTPServer(('localhost', 0), TestHandler) self.address = ':'.join([str(x) for x in httpd.server_address]) class TestServer(threading.Thread): def run(self):