Questions tagged [ping]

A utility available on all operating systems that helps test network connectivity.

Filter by
Sorted by
Tagged with
389 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 ...
dagi12's user avatar
  • 2,579
384 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 ...
George Duckett's user avatar
266 votes
11 answers
620k 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....
AndreaNobili's user avatar
  • 7,161
120 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 ...
Pacerier's user avatar
  • 27.3k
79 votes
3 answers
191k 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 ...
c2h2's user avatar
  • 2,413
70 votes
2 answers
170k 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: ...
Samir's user avatar
  • 20.8k
66 votes
4 answers
226k 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?
Shamim Hafiz - MSFT's user avatar
56 votes
4 answers
183k 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?
Lazer's user avatar
  • 17.7k
54 votes
6 answers
225k 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 ...
Cam Jackson's user avatar
  • 2,496
49 votes
4 answers
33k 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 ...
Saransh Singh's user avatar
46 votes
9 answers
128k 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 ...
Aaron Digulla's user avatar
45 votes
2 answers
51k 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 ...
Rohit Banga's user avatar
  • 2,434
44 votes
9 answers
487k 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 ...
Jon Cage's user avatar
  • 2,587
44 votes
7 answers
174k 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 ...
lucidBug's user avatar
  • 805
44 votes
4 answers
146k 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-...
loeschg's user avatar
  • 581
42 votes
4 answers
123k 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 ...
vo1d's user avatar
  • 575
41 votes
4 answers
108k 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 ...
joseph's user avatar
  • 551
41 votes
12 answers
269k 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 ...
Waza_Be's user avatar
  • 545
38 votes
6 answers
134k 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 ...
Diogo's user avatar
  • 30.5k
36 votes
12 answers
448k 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 ...
Chad Harrison's user avatar
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 ...
user avatar
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, ...
Ryan Oliver Lanham's user avatar
29 votes
13 answers
54k 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.
Andre's user avatar
  • 393
28 votes
6 answers
58k 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?
geek225's user avatar
  • 391
28 votes
1 answer
337k 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?
hpaknia's user avatar
  • 884
27 votes
6 answers
60k 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 &...
Francesco's user avatar
  • 373
27 votes
2 answers
19k 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 ...
Dan's user avatar
  • 905
26 votes
3 answers
34k 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 ...
nafas's user avatar
  • 529
26 votes
5 answers
98k 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 ...
liv2hak's user avatar
  • 596
25 votes
2 answers
84k 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 ...
Mohammad Reza Rezwani's user avatar
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 ...
Ziggy's user avatar
  • 906
24 votes
3 answers
46k views

Linux: How to monitor incoming pings

Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
futlib's user avatar
  • 1,279
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 ...
epsilon8's user avatar
  • 730
21 votes
8 answers
202k 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 ...
abel's user avatar
  • 737
21 votes
4 answers
95k 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 ...
sXe's user avatar
  • 401
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 ...
hanshenrik's user avatar
  • 1,695
20 votes
4 answers
155k 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 "...
Coder's user avatar
  • 466
20 votes
4 answers
65k 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 ...
Luke Schlather's user avatar
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?
Bob's user avatar
  • 311
18 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 ...
DJA's user avatar
  • 283
17 votes
3 answers
57k 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 ...
jerry's user avatar
  • 505
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 ...
Vinoth Kumar C M's user avatar
16 votes
3 answers
20k 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 ...
Massimo's user avatar
  • 171
16 votes
8 answers
141k 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 (...
user2551153's user avatar
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 ...
Jeff Welling's user avatar
15 votes
3 answers
89k 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 ...
user1638152's user avatar
14 votes
7 answers
96k 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 ...
Ajay Nair's user avatar
  • 243
14 votes
1 answer
100k 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 ...
SteveC's user avatar
  • 2,154
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 ...
user2419798's user avatar
13 votes
5 answers
92k 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.
user10232's user avatar
  • 245

1
2 3 4 5
31