Questions tagged [ping]

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

Filter by
Sorted by
Tagged with
382
votes
1answer
23k 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 ...
381
votes
4answers
53k 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 ...
228
votes
11answers
459k 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....
120
votes
7answers
6k views

Why can't I email myself at: MyEmail@74.125.235.55?

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 ...
69
votes
3answers
170k 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 ...
66
votes
2answers
127k 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: ...
56
votes
4answers
162k 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?
47
votes
4answers
28k 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 ...
43
votes
5answers
189k 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 ...
42
votes
9answers
117k 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 ...
41
votes
9answers
396k 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 ...
39
votes
4answers
103k 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 ...
37
votes
3answers
110k 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?
35
votes
4answers
10k 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 ...
33
votes
6answers
108k 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 ...
33
votes
12answers
397k 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 ...
31
votes
2answers
38k 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 ...
30
votes
3answers
8k 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
4answers
114k 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 ...
29
votes
11answers
175k 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 ...
25
votes
5answers
91k 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 ...
24
votes
3answers
6k 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
2answers
77k 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
1answer
260k 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?
22
votes
3answers
27k 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 ...
22
votes
4answers
86k 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-...
21
votes
3answers
6k 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
2answers
13k 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 ...
20
votes
4answers
46k 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
2answers
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 ...
19
votes
11answers
40k 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.
19
votes
1answer
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?
19
votes
3answers
26k 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 ...
18
votes
7answers
139k 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 ...
18
votes
4answers
84k 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 ...
16
votes
5answers
5k 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?
16
votes
3answers
26k views

Linux: How to monitor incoming pings

Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
16
votes
2answers
33k 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 ...
15
votes
4answers
11k 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
2answers
23k 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 ...
13
votes
4answers
82k 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.
13
votes
1answer
18k 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 ...
12
votes
2answers
6k views

If I ping 192.168.1.4, why is 192.168.1.2 responding?

When I run the command ping 192.168.1.4 I get the following results: Pinging 192.168.1.4 with 32 bytes of data: Reply from 192.168.1.2: Destination host unreachable. Reply from 192.168.1.2: ...
12
votes
1answer
80k 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 ...
11
votes
4answers
105k 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 "...
11
votes
3answers
14k views

Using ping google.com to test connection

Since the internet connection in our house does break down from time to time I set up a little experiment: For the last two month, one of my machines is pinging google.com on an half-hourly basis. ...
11
votes
3answers
18k views

Ping from windows 7 get no reply but sets errorlevel to 0

From a Windows 7 machine, I ping an IP address of a turned-off machine. C:\>ping 192.168.1.222 Pinging 192.168.1.222 with 32 bytes of data: Reply from 192.168.1.222: Destination host unreachable. ...
11
votes
2answers
13k 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 ...
11
votes
8answers
90k 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 (...
10
votes
5answers
53k views

What is 1.1.1.1? Why does it work for traceoute but not ping?

Today while trying out with networks I took traceroute of 1.1.1.1 and found my gateway address. Whereas I pinged 1.1.1.1 it results with packet loss. I googled about 1.1.1.1 and can't find any ...

1
2 3 4 5
28