mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Merge branch 'master' into 2.0
This commit is contained in:
commit
fbd3a54877
@ -156,6 +156,8 @@ class PortManager:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
PortManager._check_port(host, port, socket_type)
|
PortManager._check_port(host, port, socket_type)
|
||||||
|
if host != "0.0.0.0":
|
||||||
|
PortManager._check_port("0.0.0.0", port, socket_type)
|
||||||
return port
|
return port
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
last_exception = e
|
last_exception = e
|
||||||
|
Loading…
Reference in New Issue
Block a user