diff --git a/communicationScripts/client.py b/communicationScripts/client.py index b9f7c5bc93d1b5714543000522b2767a36eda756..8c92add93077b7ba90e0b5cea7be034dc9b58c9b 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