更改端口号
This commit is contained in:
parent
072d824753
commit
afc9f86aa5
@ -230,7 +230,7 @@ if __name__ == "__main__":
|
||||
# load_cache
|
||||
cache = load_cache()
|
||||
|
||||
server = socketserver.ThreadingTCPServer(("localhost", 8005), MyServer)
|
||||
server = socketserver.ThreadingTCPServer(("localhost", 7222), MyServer)
|
||||
ip, port = server.server_address
|
||||
print("服务端已建立:", ip, port)
|
||||
server.serve_forever()
|
||||
|
Loading…
Reference in New Issue
Block a user