Questions tagged [ping]

Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer.

Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer. The ping utility uses the network protocol, which is often filtered by firewalls, so its usefulness is usually limited in corporate environments.

Examples

ping -n 5 www.example.com #pings 5 times the server named www.example.com

A domain name or IP address can be used.

See also

References

2853 questions
20
votes
3 answers

how to ping ip addresses in php and give results

Possible Duplicate: Pinging an IP address using PHP and echoing the result How do you ping an ip addresses in php. and give the the results as if you are on cmd program in windows
Mervyn
  • 861
  • 4
  • 15
  • 28
18
votes
9 answers

What's the easiest to remember publicly pingable IP address?

For frequent network troubleshooting purposes, do you know a publicly pingable host with an easy to remember IP address (such as 1.2.3.4)?
flybywire
  • 261,858
  • 191
  • 397
  • 503
17
votes
1 answer

How to ping/test connection to SQL Server without software (like through cmd)?

Is there a way to test a connection to a SQL Server through the command line or without any extra software? I've tried the ping and telnet methods shown in this article, but they both fail to find my SQL Server. Note that the connection is fine, I…
DMX David Cardinal
  • 599
  • 2
  • 7
  • 19
17
votes
3 answers

Ping MySQL Server Using JDBC

This seems rather simple (not for me)... How does one ping a mysql server using the JDBC? i have successfully used select and insert queries with JDBC and MySQL, but how to ping??? TIA
user552245
17
votes
3 answers

Alternative to ping

I want to see if an Amazon EC2 instance is open, but by default Amazon EC2 blocks ping requests. There is a way to do this by changing the security policy of the instance. Excluding that, what would be the closest alternative to "see if a server is…
David542
  • 104,438
  • 178
  • 489
  • 842
16
votes
5 answers

Ping a website in R

I would like to create a script in R that pings a given website. I haven't found any information about this specific for R. To start with, all I need is the information on whether the website responses to the ping or not. Does anyone have…
Marco
  • 1,472
  • 16
  • 29
16
votes
9 answers

How to determine latency of a remote server through the browser

I run a couple of game tunnelling servers and would like to have a page where the client can run a ping on all the servers and find out which is the most responsive. As far as I can see there seems to be no proper way to do this in JavaScript, but I…
Mladen Mihajlovic
  • 6,095
  • 7
  • 40
  • 55
16
votes
14 answers

How to ping a server only once from within a batch file?

I want to learn how to write batch scripts and tried to create a script which automatically runs this command in the command line once: ping www.google.de -t and displays the ping, so it would look like this: Reply from XXX.XXX.X.XX:…
Peter
  • 1,679
  • 2
  • 31
  • 60
16
votes
2 answers

Check latency if server denies ping requests

the server I need to check the latency of is denying PING requests, is there another way to check my latency to the server? Thanks in advance.
Jan Červenka
  • 339
  • 1
  • 3
  • 12
15
votes
1 answer

Request timeout for icmp_seq

Using sudo ping -f (URL) on a Mac gives the message: Request timeout for icmp_seq as a reply. How can I fix this?
user3541125
  • 451
  • 2
  • 5
  • 11
15
votes
3 answers

How to implement PsPing TCP ping in C#

I am trying to implement Mark Russinovich's SysInternals PsPing tool in C# to measure latencies using TCP ping. I am not sure how it makes the ping call (apparently not uses raw Window sockets, because it does not require Administrator privileges to…
ahmet alp balkan
  • 42,679
  • 38
  • 138
  • 214
14
votes
1 answer

Why does ping work without administrator privileges?

as you may know one is unable to create RAW sockets using Windows Sockets without having administrative priviliges. The problem is, that I need to send ICMP messages, thus I need RAW sockets. The Problem: My program needs to run without…
dom0
  • 7,356
  • 3
  • 28
  • 50
14
votes
2 answers

Ping or otherwise tell if a device is on the network by MAC in C#

I'm developing a home security application. One thing I'd like to do is automatically turn it off and on based on whether or not I'm at home. I have a phone with Wifi that automatically connects to my network when I'm home. The phone connects…
Aric TenEyck
  • 8,002
  • 1
  • 34
  • 48
14
votes
2 answers

Why does `ping` not timeout in Linux?

I just figured out, that ping on a Linux platform (Ubuntu 13.10) does not timeout as described. I tried ping -w 2 unreachable.com and ping -W 2 unreachable.com but in neither case there was a timeout after 2 seconds. How can I use ping with a…
Alex
  • 41,580
  • 88
  • 260
  • 469
14
votes
5 answers

find all ip address in a network

I am trying to do this C#. I need to find all ip address that are active in my network and show them in a list. I can ping all available (1...255) ip address in a network. But I want to make this process faster.
Mehbube Arman
  • 472
  • 1
  • 7
  • 18