Change default listener to IPv6
This commit is contained in:
parent
8285564a3a
commit
b41d1a67f1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue