What is the situation that the Hong Kong cloud IP network cannot be pinged? Sometimes we find that the IP cannot be pinged through the entire network after we get the Hong Kong cloud vps, and we will wonder if the Hong Kong cloud VPS we bought is broken and not easy to use . In fact, it is not. Although this situation is rare, it is not without reason. Generally speaking, it is very likely that this happens because our VPS is down, or it is not powered on correctly, or it may be because the firewall is configured incorrectly, causing all packets to be discarded, or it is set to prohibit ping Wait.
一. The possible reasons why Hong Kong Cloud IP cannot be pinged through the entire network
First of all, I would like to introduce the possible reasons why Hong Kong Cloud IP cannot be pinged through the entire network. Of course, there may be other reasons, but after thinking about it, I feel that the main reasons should be the following.
1. The Hong Kong Cloud VPS did not boot normally
The first reason is that the VPS is not started normally. It may be down due to some error, or it may not start normally after restarting, or the VPS may not be running normally for any reason.
To determine whether this is the reason, it is very simple, just log in to the VNC page and have a look.
2. Hong Kong cloud VPS firewall configuration error
The second reason may be that we misconfigured the firewall, such as iptables, and blocked all ports and protocols by mistake, such as dropping all TCP or ICMP requests. In this case, the ping will definitely fail.
3. Mistakenly set to prohibit ping
The third type may not be that the ping is unreachable, but that the ping is prohibited. This will also show that the ping is not successful everywhere, but in fact there is no problem with the VPS.
There may be some other reasons, but the above situations should cover most of the situations. Let's take a look at the corresponding solutions.
二. The solution to the unreachable ping of Hong Kong cloud IP network
Below are several solutions that can be tried. Generally speaking, it is mainly caused by the failure of the VPS to start normally, that is, the first solution should be enough.
1. Restart or reinstall the system
Restarting is very simple. After entering the KiwiVM control panel, there is a restart button on the home page!
2. Modify or close the firewall configuration
If iptables is misconfigured, you can try to clear all iptables rules:
iptables-F;iptables-tnat-F;iptables-save>/etc/sysconfig/iptables
Or if you know how to check for errors, it’s fine. It’s generally not recommended for novice friends to make random changes.
3. Enable the ping function
If the reason is that ping is disabled, you can enable the ping function:
echo0>/proc/sys/net/ipv4/icmp_echo_igore_all
Or enable the ping function by modifying iptables:
iptables-DINPUT-picmp–icmp-type8-s0/0-jDROP
The above are some reasons why the IP ping of the Hong Kong cloud server cannot be reached and the solutions that can be tried. I hope it will be helpful to everyone.