更改端口号

This commit is contained in:
murmur 2023-03-12 13:28:11 +08:00
parent 072d824753
commit afc9f86aa5

View File

@ -230,7 +230,7 @@ if __name__ == "__main__":
# load_cache # load_cache
cache = load_cache() cache = load_cache()
server = socketserver.ThreadingTCPServer(("localhost", 8005), MyServer) server = socketserver.ThreadingTCPServer(("localhost", 7222), MyServer)
ip, port = server.server_address ip, port = server.server_address
print("服务端已建立:", ip, port) print("服务端已建立:", ip, port)
server.serve_forever() server.serve_forever()