Connection Refused
程序员文章站
2022-07-13 09:56:50
...
There could be many reasons, but the most common are:
Test Connectivity
telnet 10.1.131.19 4447
Check the port status of remote system
netstat -tnlp | grep :4447
Check firewall
tcpdump -n icmp
Check IP
arping 10.1.131.19
Check the number of active connections
netstat -np | grep -w 4447 | grep ESTABLISHED | wc -l
- The port is not open on the destination machine.
- The port is open on the destination machine, but its backlog of pending connections is full.
- A firewall between the client and server is blocking access (also check local firewalls).
- IP address conflict
Test Connectivity
telnet 10.1.131.19 4447
Check the port status of remote system
netstat -tnlp | grep :4447
Check firewall
tcpdump -n icmp
Check IP
arping 10.1.131.19
Check the number of active connections
netstat -np | grep -w 4447 | grep ESTABLISHED | wc -l
Increasing the maximum number of tcp/ip connections in linux
推荐阅读
-
C#中通过使用Connection类来实现打开/关闭数据库的代码实例
-
PHP执行Curl时报错提示CURL ERROR: Recv failure: Connection reset by peer的解决方法
-
Lost connection to MySQL server during query的解决
-
java.net.SocketException: Connection reset 解决方法
-
深入android中The connection to adb is down的问题以及解决方法
-
linux上TCP connection timeout问题解决办法
-
putty network error:Connection refused 乱码解决方法
-
详解Python 数据库的Connection、Cursor两大对象
-
Linux 出现telnet: 127.0.0.1: Connection refused错误解决办法
-
mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refuse