Fast DFS small demo report error org.csource.common .MyException: getStoreStorage fail, errno code: 2

Title fastdfs error

org.csource.common .MyException: getStoreStorage fail, errno code: 2

solve:

Remove the following problems in turn:

1. Can the virtual machine be pinged

Win + R
CMD + enter
Ping fastdfs server IP address

virtual machine address can be viewed through ifconfig command

2. Is the firewall closed

systemctl stop firewalld.service

3. Check whether the upload address of fastdfs configuration file is IP address

vi /etc/fdfs/ storage.conf

4. Restart the storage service

/etc/init.d/fdfs_ storaged restart

Read More: