inbound hostname corrected

--HG--
branch : sandbox
This commit is contained in:
baloan
2015-02-01 18:16:11 +01:00
parent abb628de1a
commit d7ce318b03
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class MyTCPHandler(SocketServer.BaseRequestHandler):
if __name__ == "__main__":
HOST, PORT = "localhost", 8080
HOST, PORT = "", 8080
# Create the server, binding to localhost on port 9999
server = SocketServer.TCPServer((HOST, PORT), MyTCPHandler)
# Activate the server; this will keep running until you

View File

@@ -53,7 +53,7 @@ class MyTCPHandler(SocketServer.BaseRequestHandler):
if __name__ == "__main__":
HOST, PORT = "localhost", 8080
HOST, PORT = "", 8080
# Create the server, binding to localhost on port 9999
server = SocketServer.TCPServer((HOST, PORT), MyTCPHandler)
# Activate the server; this will keep running until you

View File

@@ -78,7 +78,7 @@ class MyTCPHandler(SocketServer.BaseRequestHandler):
if __name__ == "__main__":
HOST, PORT = "localhost", 8080
HOST, PORT = "", 8080
# Create the server, binding to localhost on port 9999
server = SocketServer.TCPServer((HOST, PORT), MyTCPHandler)
# Activate the server; this will keep running until you