Connection Refused
程序员文章站
2022-07-13 10:20:19
...
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
推荐阅读
-
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
-
android使用url connection示例(get和post数据获取返回数据)
-
Mybaits 源码解析 (十二)----- Mybatis的事务如何被Spring管理?Mybatis和Spring事务中用的Connection是同一个吗?
-
pymssql的Connection相关特性浅析