SpringBoot collection of Linux Nginx FastDFS and upload pictures test error com.github.tobato.fastdfs.exception.FdfsConnectException: Unable to get server connection resources: can not create connection to / 192.168.1.104: 22122

Error 

com.github.tobato.fastdfs.exception.FdfsConnectException: Can not get server connection resources: CAN 't Connection to the Create / 192.168.1.104: 22122
 ...... 
...... 
...... 
...... 
...... 
...... 
...... 
......

 

Solution, followed by the implementation of the following four commands to turn off the firewall

chkconfig iptables off
iptables
-L
iptables
-F
service iptables stop

Guess you like

Origin www.cnblogs.com/taopanfeng/p/11126435.html