Skip to content

Commit 0c7f53a

Browse files
committed
fix(info): Ensure dynamic port to be printed
1 parent 70aa561 commit 0c7f53a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

trame_server/utils/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def print_informations(server):
1313
host_ip = socket.gethostbyname(host_name)
1414
print(f" - Network: http://{host_ip}:{server.port}/")
1515
except socket.gaierror:
16+
print(f" - Network: http://{args.host}:{server.port}/")
1617
pass
1718

1819
print()

0 commit comments

Comments
 (0)