1. Home
  2. VPS
  3. How can I ping my server?

How can I ping my server?

Ping is a simple tool to see how long it takes to connect to your VPS or to verify if your VPS is up and running. With ping you send a small packet to a server and the destination server replies on that. The ping tool shows how long it takes to reach that server. You can also determine if the destination server is reachable over the network. For more detailed information about ping you can read theย Wikipedia article.

How to ping with Windows, Linux and Mac OS X

  1. Windows: Launch CMD.exe. Depending on your Windows version you can do this from start -> search field.
    For Linux and Mac OS X: launch the terminal.
  2. Enter this:
    ping serverip
    NOTE: replace serverip with the IP of the server that you want to ping.
  3. If the server is online it can reply with an answer. Ping will calculate the time it takes to send and receive the package. Note that wireless connections will increase the response time (a lot).

I get a timeout or Packet Loss (PL)

There are several reasons why you can get a timeout:

  1. The server is configured to not reply on ping requests or replies on a limited amount of pings per second. You can configure this in the server firewall to prevent that everybody can ping your server (in some cases attackers use this to verify that your server is online). Note that if you do this it doesn’t mean that your server is offline. It’s a good idea to allow your own IP to ping your server without a ping rate per second limitation.
  2. The server is offline or has problems. It’s most likely that other services like SSH or HTTP won’t properly. Log in to the VNC viewer and try to solve the problem from there.
  3. The connection between you and the server is unstable. Verify if your internet connection is stable. If it is and your server isn’t experiencing problems either you can contact us.
Updated on August 26, 2016

Was this article helpful?

Related Articles