mirror of https://github.com/huashengdun/webssh
				
				
				
			Change listen address to 127.0.0.1
							parent
							
								
									c90f1e5a57
								
							
						
					
					
						commit
						6094d4bb43
					
				|  | @ -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: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Sheng
						Sheng