Caused by: java.net.SocketTimeoutException: connect timed out
Caused by: java.net.SocketTimeoutException: connect timed out;问题:fdfs连接服务器时失败,显示连接超时:排查得知是因为Linux的防火墙问题,所以只需关闭防火墙即可。centos6版本输入:chkconfig iptables off可永久关闭防火墙centos7版本输入:systemctl stop firewalld.servi
·
Caused by: java.net.SocketTimeoutException: connect timed out;
问题:fdfs连接服务器时失败,显示连接超时:
排查得知是因为Linux的防火墙问题,所以只需关闭防火墙即可。
centos6版本输入:chkconfig iptables off可永久关闭防火墙
centos7版本输入:
systemctl stop firewalld.service 关闭防火墙
再输入systemctl disable firewalld.service可永久关闭防火墙
更多推荐
已为社区贡献3条内容
所有评论(0)