Skip to content
Snippets Groups Projects
Commit ee6f3e4f authored by Dominik Fuhrmann's avatar Dominik Fuhrmann
Browse files

new server ip

parent d9f980d0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -4,7 +4,6 @@ sudo apt install python3-venv
# Create python virtual environment
python3 -m venv "projectEnv"
# TODO
# Activate venv
source projectEnv/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment