Commit 6094d4bb by Sheng

Change listen address to 127.0.0.1

parent c90f1e5a
......@@ -81,7 +81,7 @@ def run_ssh_server(app):
# now connect
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind(('', 2200))
sock.bind(('127.0.0.1', 2200))
sock.listen(100)
while not app._tear_down:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment