Change default listener to IPv6

This commit is contained in:
Nico Schottelius 2018-11-12 11:31:34 +01:00
parent 8285564a3a
commit b41d1a67f1

View file

@ -46,7 +46,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
if __name__ == '__main__':
server_address = ('0.0.0.0', 7000)
server_address = ('::', 7000)
httpd = HTTPServer(server_address, testHTTPServer_RequestHandler)
print('running server...')
httpd.serve_forever()