FastDFS上传文件时出现连接超时错误
connect to server 192.168.xx.xx:22122 fail
java.net.ConnectException: Connection timed out: connect
解决办法:
检查22122和23000端口是否开启并放行
1.开启Tracker的22122端口
firewall-cmd --add-port=22122/tcp --permanent
2.开启Storage的23000端口
firewall-cmd --add-port=23000/tcp --permanent
3.重启防火墙
service firewalled restart