Solution: CentOS cannot be pinged to win System

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.