log which port is in use

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Trllo 2024-04-12 11:03:34 +02:00 committed by GitHub
parent 78a895b720
commit e587ef5344
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ class WebServerTool:
result = con.connect_ex((host_name, port)) == 0
if result:
print("Port is in use")
print(f"Port {port} is already in use")
return result
def call(self, func):