From ee6f3e4f620388276e95469c6dfb932493dc8085 Mon Sep 17 00:00:00 2001 From: Dominik Fuhrmann <dominik.fuhrmann1@gmail.com> Date: Tue, 24 Dec 2024 13:28:58 +0100 Subject: [PATCH] new server ip --- communicationScripts/client.py | 4 ++-- setup/pythonInstallation.sh | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/communicationScripts/client.py b/communicationScripts/client.py index abf6379..8410ba6 100644 --- a/communicationScripts/client.py +++ b/communicationScripts/client.py @@ -12,9 +12,9 @@ def run_client(file_path): # Sichere Verbindung mit dem Server herstellen try: - with socket.create_connection(("192.168.201.132", 5000)) as sock: + with socket.create_connection(("192.168.125.101", 5000)) as sock: print("Verbindung zum Server wird hergestellt...") - with context.wrap_socket(sock, server_hostname="192.168.201.132") as ssl_sock: + with context.wrap_socket(sock, server_hostname="192.168.125.101") as ssl_sock: print("Mit dem Server verbunden!") # Datei senden diff --git a/setup/pythonInstallation.sh b/setup/pythonInstallation.sh index 88c0014..dc723a8 100644 --- a/setup/pythonInstallation.sh +++ b/setup/pythonInstallation.sh @@ -4,7 +4,6 @@ sudo apt install python3-venv # Create python virtual environment python3 -m venv "projectEnv" -# TODO # Activate venv source projectEnv/bin/activate -- GitLab