Skip to content

Commit 9e00271

Browse files
committed
Merge branch '3.5.x'
2 parents 9a569a1 + 15bd15e commit 9e00271

File tree

1 file changed

+1
-1
lines changed
  • framework/fit/python/fitframework/utils

1 file changed

+1
-1
lines changed

framework/fit/python/fitframework/utils/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def to_bool(value: Union[str, int, bool]):
5353

5454
def get_free_tcp_port() -> int:
5555
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
56-
s.bind(('', 0))
56+
s.bind((_LOCAL_HOST, 0))
5757
return s.getsockname()[1]
5858

5959

0 commit comments

Comments
 (0)