In the Intranet environment, the interface on the test server fails to connect. The returned information is as follows:
Unable to connect to remote host: Connection refused
The server system is Ubuntu 16.04. If you use sudo UFW disable to shut down the firewall, you still can’t because of iptables
According to the method described in the following article
https://blog.csdn.net/zuifeng503/article/details/8209441
Just use the following command to turn off iptables
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -F
blockquote>
Read More:
- Failed to connect to remote VM. Connection reused. Connection reused: Connect
- [Linux] curl: (7) failed to connect to 127.0.0.1 port 1086: connection reused solution
- About jmh running error: transport error 202: Connect failed: connection reused error solution
- Error condition on socket for Sync: connection reused
- JMeter performance test monitoring server resource reported error: java.net.ConnectException : Connection refused: connect
- ABAQUS FLEXlm error: – 15, 10. System error: 10061 “Winsock: problem solving of connection reused”
- The local program cannot access the test environment redis cluster through public IP_ compromise
- Vscode remote connection server reports an error: could not establish connection to “XXXXXX” [resolved]
- SQL server remote computer refused network connection, error: 1225, specific solution steps.
- SSH connection to MAC server shows No route to host solution
- MySQL Workbench: Error Code: 2013. Lost connection to MySQL server during query solution
- Error in react build packaging test environment
- Connection error:Cannot connect to redis-server. Details are available in connection log.
- Chrome your connection is not a private connection solution
- Navicat remote connection SQL Server 2014 express report 08001 error
- Error:Connection activation Failed: no suitable device found for this connection solution
- PHP under linux uses pdo-dblib to connect to mssql to report an error solution. Error message: SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- Anaconda create environment, delete environment, activate environment, exit environment
- How to Fix adb_server_notify: ADB server connection failed
- Remote sshd prompt: server unexpectedly closed network connection