Questions tagged [ping]
A utility available on all operating systems that helps test network connectivity.
1,554
questions
390
votes
1
answer
24k
views
Ping faster than light
I just discovered very strange thing while testing my internet connection.
My ping is smaller than it should be. For example ping time to Arizona State University is about 14ms.
eryk@eryk-pc:~$ ping ...
387
votes
4
answers
55k
views
Why does pinging 192.168.072 (only 2 dots) return a response from 192.168.0.58?
I mistakenly missed the dot off of an IP address and typed in 192.168.072.
To my surprise I connected to a machine at 192.168.0.58
If I ping 192.168.072 I get responses from 192.168.0.58.
Why is ...
268
votes
11
answers
647k
views
Is it possible to ping an address:port?
I am not into networking, and I have the following question related to the Linux ping command.
Can I only ping an address? For example:
miner@raspberrypi ~ $ ping onofri.org
PING onofri.org (67.222....
121
votes
7
answers
7k
views
Why can't I email myself at: [email protected]?
I opened cmd and typed ping gmail.com. It shows me:
C:\Windows\system32>ping gmail.com
Pinging gmail.com [74.125.235.55] with 32 bytes of data:
Reply from 74.125.235.55: bytes=32 time=6ms TTL=56
...
79
votes
3
answers
192k
views
how to ssh to a ipv6 ubuntu in a LAN?
I'm able to ping my Ubuntu box via command: (where c2h2ttt is listed in /etc/hosts)
c2h2@c2h2crawler:~/ttt$ ping6 -I eth1 c2h2ttt
PING c2h2ttt(c2h2ttt) from fe80::21b:21ff:fe22:e865 eth1: 56 data ...
70
votes
2
answers
176k
views
Why is my localhost not 127.0.0.1 but ::1, and what notation is that? [duplicate]
When I use the Ping command against my localhost (on Windows Vista), it doesn't show up as 127.0.0.1.
C:\Windows\system32>ping localhost
Pinging GIGA [::1] from ::1 with 32 bytes of data:
...
67
votes
4
answers
237k
views
Can you get a reply from a HTTPS site using the Ping command?
I tried using the ping command on a https page, but the message says that ping could not find the host. Is there some issue regarding ping and https?
59
votes
4
answers
191k
views
How to ping when behind a proxy?
I am using an HTTP proxy server to connect to the internet.
Because of that my pings are not working
ping www.google.com
says Unreachable Host
How can I configure ping to use the HTTP proxy?
55
votes
6
answers
233k
views
Pinging a machine on my local network gets an 'unreachable' response from my own IP address?
Edit for future readers who get here from google:
This question is now the top google result when searching for 'destination host unreachable from my own ip address'. If that's how you got here, then ...
49
votes
4
answers
34k
views
Difference between pinging with and without http://
I am trying to ping my website http://www.example.com/ and it resolves to an unknown IP address and times out.
PING http://www.example.com/ (198.105.254.228): 56 data bytes
Request timeout for ...
46
votes
9
answers
129k
views
avahi: ping can't resolve hostname, but nslookup can
ping tells me that it can't resolve some hostname ("ping: unknown host domain.company.local") in a URL but when I use host or nslookup on the same computer on the command line, the resolutions works ...
45
votes
2
answers
52k
views
How does a NAT server forward ping ICMP echo reply packets to users?
NAT uses an IP address port number combination to hash the outgoing requests. Since ping requests consist of ICMP echo request packets, they do not have any associated port number. How does a NAT ...
44
votes
9
answers
500k
views
How can I ping a range of IP addresses simultaneously [closed]
I have a bunch of machines on an IP address range which I want to ping simultaneously as a quick and dirty way of telling which ones are switched on. What (free) software can I use to do this?
I'm ...
44
votes
7
answers
180k
views
Ping to Windows 10 not working if "file and printer sharing" is turned off?
I have one Windows 10 computer on a local network.
When I try to ping the Windows 10 machine from some other computer, it fails (Request timed out). From the Windows 10 machine, I can ping other ...
44
votes
4
answers
154k
views
Possible to "ping" url:port? (OS X-GeekTool)
I'm trying to use GeekTool (Mac pref pane... basically just embeds output of a shell command/script on the desktop... http://lifehacker.com/#!244026/geek-to-live--monitor-your-mac-and-more-with-...
43
votes
4
answers
126k
views
How can I monitor my ISP's connection quality over time?
I've got a very bad ISP and want to monitor the connection quality over a month's time.
At the moment I just wrote a script which logs ping requests to Google's DNS server 8.8.8.8.
How can I do ...
42
votes
4
answers
136k
views
What port does 'ping' work on?
Is there any particular port number that the ping command works on by default?
Also on a Linux system, is there a way to figure out by yourself which port numbers it runs on and configure a different ...
42
votes
12
answers
280k
views
How can I perform a ping every X minutes and check the response time?
I am currently working in a big company and we have serious latency issues.
This is happening in a process control system, and is unacceptable (Open a valve sometimes take 2 minutes before command ...
38
votes
6
answers
137k
views
Why is there a difference between ping "localhost" and ping "local IP address"?
Using cmd and ping on Windows gave me the following results:
Pinging "localhost":
Pinging "192.168.0.10" (local IP address):
Aren't both situations exactly the same?
I mean, I'm pinging the same ...
36
votes
12
answers
453k
views
Why do I get "General Failure" when pinging host name on a Win 7 node on the network?
This is a very peculiar problem with a station on our network. The client pc is running Windows 7 Pro. What makes this problem interesting is that this client is the only node on the network that ...
34
votes
4
answers
11k
views
Why is ping faster through VPN than without a VPN?
When I play an online game without VPN, the ping is around 120ms. But when I use VPN with a virtual location in Germany, the ping is only 60-70ms (which is amazing). When I use virtual location to ...
30
votes
3
answers
10k
views
Why can I ping 10.0.0.0/8 addresses from a 192.168.1.0/24 subnet?
My home network uses a 192.168.1.0/24 subnet, and when I ping 192.168.1.137 I get a response saying the host is unavailable (as expected because I don't have any machines using that address)
However, ...
30
votes
13
answers
56k
views
Linux Ping: Show time out
How can I make the Linux ping to show the requests 'time out' instead of omitting the output?
Just like the Windows version of ping.
30
votes
8
answers
77k
views
Cannot ping a Windows 11 machine
I'm trying to ping my Windows 11 machine from a Linux device. Here's what I've tried so far:
Disabling Windows Defender Firewall
Enabling inbound rules from the Advanced Options
Restoring firewall &...
28
votes
7
answers
68k
views
How can I do a ping every 500 ms?
By default the time delay between two pings is equal to 1 second. My need is to reduce the delay between two pings to 500 ms (0.5 seconds). Is there any way to do this?
28
votes
1
answer
352k
views
How to ping an IP address from an Android device? [closed]
Is there a way to ping an IP address from an Android device?
Is there a Android built-in application or am I to download an app for my task?
27
votes
2
answers
20k
views
Is there a maximum number of hostname aliases per line in a Windows hosts file?
I have a hosts file on Windows 7 that has an IP address followed by 10 different hostname aliases. I can ping the first nine, but if I try to ping the tenth, I get:
Ping request could not find host ...
26
votes
5
answers
99k
views
how does 'ping' command really work?
How does the ping command really work? Specifically where does the ARP (Address Resolution Protocol) come into picture?
I was asked this question in an interview and I was not able to come up with ...
25
votes
3
answers
35k
views
How do I ping localhost using IPv6?
I'm trying to understand IPv6 better.
Firstly, I try ifconfig, and I get the following:
eth0 Link encap:Ethernet HWaddr XXXXXXX
inet addr:X.X.X.X Bcast:X.X.X.X Mask:XXXXXXXXX
...
25
votes
2
answers
85k
views
what is type of ICMP packets? TCP or UDP
The ping packet is a type of ICMP packet. Is there any relation between ICMP with TCP? In other words, can we guarantee their arrival in the network?
I want to know if ICMP packets in the network are ...
24
votes
3
answers
9k
views
How to 'ping' politely
Today minecraft was down at exactly the moment when I wanted to take a break from studying for my finals. A harrowing experience! So I thought I would procrastinate a bit by writing a script that ...
24
votes
3
answers
49k
views
Linux: How to monitor incoming pings
Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
21
votes
4
answers
8k
views
Why can I ping google.com, but not nasa.gov?
Why can I ping google.com, but not nasa.gov?
I have to ping it like this
ping www.nasa.gov
Is it because of DNS record of NASA?
Also how does a ping response time improve?
ping google.com
time ...
21
votes
8
answers
208k
views
Save Ping Output in a text file
I often have to ping servers for connectivity status. Is there a way to save the ping results (output) in a text file so that I can save entire day's ping results in a text file.
I am using Windows ...
21
votes
4
answers
97k
views
Can't ping but can access internet just fine?
I'm wondering if anyone has ideas on this one, since it's a first for me. I can access the internet just fine with a browser, but using PING or TRACERT from a command prompt just shows requests ...
20
votes
2
answers
4k
views
Which ping implementation is Cygwin using?
What is the source of the implementation of ping is Cygwin using?
It apparently isn't GNU ping (because in GNU ping, the number of pings to send is decided with -c X, while in Cygwin ping, it's ...
20
votes
4
answers
162k
views
No reply for ping command. What does this mean?
I am testing the availability of nodes in a netwok. For that I use ping command and see whether that machine responds back.
However, if a machine is not reachable ping should show me that that "...
20
votes
3
answers
31k
views
I can tracert to an IP address, but not ping it
On Windows, if I tracert to Google I get the following;
C:\Users\Dave>tracert -d -w 100 www.google.com
Tracing route to www.google.com [216.58.220.100]
over a maximum of 30 hops:
1 <1 ms ...
20
votes
4
answers
68k
views
How can I ping via an alternate gateway?
Our network has two modems, each one hidden behind a router. The primary router is on 10.1.1.1, the backup router is on 10.1.1.2, and are both configured to the 10.1.1.0/24 subnet. Both routers have ...
19
votes
1
answer
3k
views
Pinging different IP address than what I entered [duplicate]
Can anyone please explain why CMD pings a different IP address than the one I am searching for?
18
votes
3
answers
60k
views
no response when I ping my website, but I can still access it?
Sorry, this may be a dumb question, but I noticed something weird when I went to terminal and typed
ping -o mysite.com
and I get the message...
Request timeout for icmp_seq 0
but when I visit my ...
16
votes
2
answers
28k
views
Why do companies block 'ping'?
I can browse all the websites in my company work station, but not open the command prompt and ping any website. This has happened in 2 of my previous companies too. Do companies block ping?Why do ...
16
votes
3
answers
21k
views
Problem with ping (open socket: Operation not permitted)
I have such trouble when using ping 127.0.0.1 under root:
ping: icmp open socket: Operation not permitted
What does it mean? When I try ls -l /bin/ping it says:
-rwsr-xr-x 1 root root 30788 Jul 27 ...
16
votes
8
answers
144k
views
Windows 10 can't resolve hostnames - ping with IP works but not with hostname
Facts:
The browser doesn't load any pages, whether they are addressed with IP or hostname.
ping google.com doesn't work, returning Ping request could not find host google.com.
ping 216.58.209.78 (...
15
votes
4
answers
12k
views
Negative ping time?
This is the first time I've seen this and I'm not sure what it means;
64 bytes from 74.125.93.99: icmp_seq=6233 ttl=53 time=545.493 ms
64 bytes from 74.125.93.99: icmp_seq=6234 ttl=53 time=776.093 ...
15
votes
3
answers
95k
views
Getting firewalld to allow ping requests
On CentOS 7, I have installed and setup firewalld as follows:
Add ssh service to drop zone permanently (sudo firewall-cmd --zone=drop --permanent --add-service=ssh)
Make drop zone the default zone so ...
14
votes
7
answers
101k
views
Unable to ping a Windows machine from Linux
I have Windows installed on my laptop, connected to the router wirelessly with IP 192.168.1.5. My desktop is running Linux, connected to the same router (wired) with IP 192.168.1.2. When I do a ping ...
14
votes
1
answer
102k
views
How can one machine ping another, but the reverse ping doesn't work
I've got two VMware Workstation virtual machines running ...
Virtual A can ping the host laptop most of the time, other real machines on my home network all of the time, but it gets a "request timed ...
14
votes
1
answer
20k
views
ping: Temporary failure in name resolution
I tried speeding up DNS lookup in Ubuntu 17.04 and followed the instructions from the second post here: Ubuntu 17.04 systemd-resolved DNS lookups randomly fail
Result: once I reboot name resolution ...
13
votes
5
answers
95k
views
Why does 'ping' returns 'request timed out' for some hosts?
For some hosts, ping www.example.com it resolves their IP but why does it fails with request time out? I have also tried to increase the ping response time but still the same result.