From 378e75fc735dbaba8365a96046e1809692a488fc Mon Sep 17 00:00:00 2001 From: Dominik Fuhrmann <dominik.fuhrmann1@gmail.com> Date: Tue, 24 Dec 2024 13:49:06 +0100 Subject: [PATCH] switched server --- communicationScripts/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/communicationScripts/client.py b/communicationScripts/client.py index b9f7c5b..8c92add 100644 --- a/communicationScripts/client.py +++ b/communicationScripts/client.py @@ -13,9 +13,9 @@ def run_client(file_path): # Sichere Verbindung mit dem Server herstellen try: print("Versuche, Verbindung zum Server herzustellen...") - with socket.create_connection(("192.168.178.51", 5000)) as sock: + with socket.create_connection(("192.168.178.63", 5000)) as sock: print("Verbindung zum Server erfolgreich hergestellt.") - with context.wrap_socket(sock, server_hostname="192.168.178.51") as ssl_sock: + with context.wrap_socket(sock, server_hostname="192.168.178.63") as ssl_sock: print("Mit dem Server verbunden und SSL-Handschlag abgeschlossen!") # Datei senden -- GitLab