We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a569a1 + 15bd15e commit 9e00271Copy full SHA for 9e00271
1 file changed
framework/fit/python/fitframework/utils/tools.py
@@ -53,7 +53,7 @@ def to_bool(value: Union[str, int, bool]):
53
54
def get_free_tcp_port() -> int:
55
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
56
- s.bind(('', 0))
+ s.bind((_LOCAL_HOST, 0))
57
return s.getsockname()[1]
58
59
0 commit comments