English 中文(简体)
Unable to ping home IP address from VPS terminal despite being able to ping other sites/hosts
原标题:

I m able to ping multiple sites and hosts, but for some reason (from my VPS terminal), I m not able to ping my home IP address. I ve discovered this in the feat to try and get external connections allowed for my MySQL Database.

Upon checking netstat -tlnp | grep 3306 - it returns: tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3900555/mariadbd

When I ping my home IP from the VPS, the putty terminal responds with:

PING my.home.ip.add (my.home.ip.add) 56(84) bytes of data.
--- my.home.ip.add ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1025ms

However when I ping google.com from the VPS, the putty terminal responds with:

PING google.com (142.250.188.238) 56(84) bytes of data.
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=1 ttl=61 time=0.704 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=2 ttl=61 time=0.673 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=3 ttl=61 time=0.702 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=4 ttl=61 time=0.708 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=5 ttl=61 time=0.690 ms
64 bytes from lax31s15-in-f14.1e100.net (142.250.188.238): icmp_seq=6 ttl=61 time=0.735 ms

--- google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms

I ve checked my iptables as well as UFW, neither are enabled/being used.

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-input  all  --  anywhere             anywhere
ufw-before-input  all  --  anywhere             anywhere
ufw-after-input  all  --  anywhere             anywhere
ufw-after-logging-input  all  --  anywhere             anywhere
ufw-reject-input  all  --  anywhere             anywhere
ufw-track-input  all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:3306

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-forward  all  --  anywhere             anywhere
ufw-before-forward  all  --  anywhere             anywhere
ufw-after-forward  all  --  anywhere             anywhere
ufw-after-logging-forward  all  --  anywhere             anywhere
ufw-reject-forward  all  --  anywhere             anywhere
ufw-track-forward  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-output  all  --  anywhere             anywhere
ufw-before-output  all  --  anywhere             anywhere
ufw-after-output  all  --  anywhere             anywhere
ufw-after-logging-output  all  --  anywhere             anywhere
ufw-reject-output  all  --  anywhere             anywhere
ufw-track-output  all  --  anywhere             anywhere

UFW is not installed, as per a comment I tried: sudo ufw status I ve also ensured by using portchecker.co that my home IP address is open and accessible through port 80 - and I ve pinged my home IP address through windows CMD.

问题回答

Had a setting disabled in my router settings.... Simple mistake.

Nighthawk RAX42 - I had to enable Respond to Ping on Internet Port under WAN Setup





相关问题
C# Networking API s [closed]

Lately I ve been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has ...

Listen to a port that is in use [duplicate]

Possible Duplicate: Get connecting IP from specified ports that using by other program. If a port is used by a program, is there any way I can listen that port and get the connected IP on that ...

Twisted Spread suitable for multiplayer racing sim?

Do you think that Twisted Spread may be suitable (in terms of performance) for a multiplayer racing simulator? The rest of the application is based on Python-Ogre. Can Perspective Broker run upon (...

Optimizing a LAN server for a game

I m the network programmer on a school game project. We want to have up to 16 players at once on a LAN. I am using the Server-Client model and am creating a new thread per client that joins. ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

热门标签