Dashboard: minor fix, use 0.0.0.0 in port search instead of localhost

Possible related to docker on WSL issues
This commit is contained in:
MischaPanch authored and Michael Panchenko committed 2025-07-24 00:35:11 +02:00
1 parent f2b01a0573
commit 2909c67d50
1 file changed
+1 -1
+1 -1
View File
@@ -136,7 +136,7 @@ class SerenaDashboardAPI:
while port <= 65535:
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
sock.bind(("localhost", port))
sock.bind(("0.0.0.0", port))
return port
except OSError:
port += 1