Caused by: java.net.SocketTimeoutException: connect timed out;

问题:fdfs连接服务器时失败,显示连接超时:

排查得知是因为Linux的防火墙问题,所以只需关闭防火墙即可。

centos6版本输入:chkconfig iptables off可永久关闭防火墙

centos7版本输入:systemctl stop firewalld.service 关闭防火墙

再输入systemctl disable firewalld.service可永久关闭防火墙

 

Logo

更多推荐