Solution: CentOS cannot be pinged to win System
1. After the CentOS firewall is disabled, You can ping CentOS in win, but CentOS cannot ping win.
Solution:
Control Panel-> windows Firewall-> inbound rules-> file and printer sharing (echo request ICPv4-in)
+ File and printer sharing (explicit request ICPv6-in)-> enable rules
2. CentOS and win can ping each other, But when FileZilla is connected to the CentOS virtual machine,
Result: Network error: Connection refused error.
Solution:
First, check whether the SSHD service is enabled.
Enter the Centos terminal # ssh localhost
If the following error occurs: ssh: connect to host localhost port 22: Connection refused
No need to worry about it, because the sshd service is not started
Install sshd command: # yum install openssh-server
After installation, enable: #/etc/init. d/sshd start
In case the connection fails, close the firewall or open port 22.
Disable firewall command: #/etc/init. d/iptables stop