change server host
This commit is contained in:
parent
87f5017920
commit
fd7b232efb
|
@ -78,7 +78,7 @@ def main():
|
||||||
parser = argparse.ArgumentParser(description='HTTP Server')
|
parser = argparse.ArgumentParser(description='HTTP Server')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
server = HTTPServer(("localhost", 4876), HTTPRequestHandler)
|
server = HTTPServer(("0.0.0.0", 4876), HTTPRequestHandler)
|
||||||
print('HTTP Server Running on localhost:4876')
|
print('HTTP Server Running on localhost:4876')
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue