Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
loading
  1. Home
  2. Getting Started
  3. Hostvento Hosting's Getting Started Guide
  4. Internet and networking information
  5. How to troubleshoot network connectivity using ping and traceroute
Updated on June 23, 2024

Getting Started

  • Folder icon closed Folder open iconShared Hosting Quick Start Guide
    • How to Change Nameservers in GoDaddy?
    • CloudLinux monitoring and limits
    • How to Create/Edit/Delete User Package with DirectAdmin?
    • How to Change the Time-zone in Webmail?
    • How to Add Email Filters from Webmail?
    • How to Claim Your Free .online Domain at Hostvento?
    • Managed WordPress Quick Start Guide
      • How to Update WordPress Installation?
      • How to Install WordPress Locally on Windows?
    • ProcessWire CMS
    • How to Buy Hosting from hostvento
    • Discover the Steps to Change a Password in Linux
    • How to change Domain Nameservers (DNS) of my Domain?
    • IP Deny Manager
    • What is SSH2 and how to install it
    • How to install eAccelerator on linux cPanel server ?
    • Do you support Magento eCommerce website
    • Discover the PHP Error Messages That Web Designers Should Know About
    • Learn to Use the Group Block in WordPress
    • How to determine the WordPress Version?
    • Learn to monitor blacklisted sites using Dropmysite
    • What is cPanel Hosting: A Complete Guide
    • How To Change The WordPress Auto-Save Interval?
    • Steps to Perform When the phprc File Isn’t Updating
    • How To Install Elgg Through Softaculous?
    • Steps to Redirect URLs Using Nginx
    • Using SMTP authentication to send email through WordPress
    • How To Configure The Display Options Of WooCommerce?
    • When Will Softaculous Provide With The Latest Version Of A Script/Application?
    • Know How To Set Constant FS_Method
    • How to Find Out the Latest Visitors to Your Website in cPanel?
    • How to Copy or Move Files in cPanel File Manager?
    • What Is a Parked(Alias) Domain and How Do I Set up One
    • Discover the Steps to Change a Password in Linux
    • How To Manage User Roles In Plesk?
    • How To Suspend And Unsuspend Accounts In WHM?
    • How to Connect to MySQL Using Python?
    • How To Change The Logo Of Your AbanteCart Store?
    • How To Create Custom Email Filters In cPanel?
    • How Do I Debug Magento MySQL Problems?
    • How to Add and Delete Email Account in Webuzo?
    • How to Add and Delete Email Account in Webuzo?
    • How to Add and Delete Email Account in Webuzo?
    • Learn to access phpMyAdmin and phpPgAdmin in cPanel
    • How to Restart a Server using Plesk?
    • SMF Hosting FAQ
    • Enable HTML files to display PHP Code
    • How to change your Plesk Password?
    • How to Check the Commission Status from Hostvento Affiliate Dashboard?
  • Folder icon closed Folder open iconUnmanaged VPS Quick Start Guide
  • Folder icon closed Folder open iconReseller Quick Start Guide
  • Folder icon closed Folder open iconUnmanaged Dedicated Server Quick Start Guide
  • Folder icon closed Folder open iconOrdering a hosting package
  • Folder icon closed Folder open iconHow to help secure your website
    • How To Secure Your Website's Software
  • Folder icon closed Folder open iconHostvento Hosting's Getting Started Guide
    • How to use the Knowledge Base
    • Shared Hosting Quick Start Guide
    • Managed WordPress Quick Start Guide
    • Reseller Quick Start Guide
    • Managed Dedicated Server Quick Start Guide
    • Unmanaged Dedicated Server Quick Start Guide
    • Ordering a hosting package
      • How to order a shared web hosting package
      • How to order a reseller hosting package
      • How to order an unmanaged Dedicated Server
      • How to order a managed Dedicated Server
      • How to use Hostvento Hosting coupons and discounts
    • Registering a domain
      • How to choose an effective domain name
      • How to protect your domain name
      • How to register and use internationalized domain names (IDNs)
      • .us Domain Name & Nexus Requirements Guide
      • Requirements for registering Canadian .ca domain names
      • Reactivating an expired domain
      • Validating your domain with ICANN
    • Configuring domain settings
      • Introduction to domain names and DNS
      • How to update the nameservers at third-party registrars
      • How to transfer a domain to Hostvento Hosting
      • How to set the name servers for a domain to point to Hostvento Hosting
      • How to access your web site before DNS propagation is complete
      • How to configure custom name servers
      • How to configure reverse DNS
      • How to set the name servers for a domain at OpenSRS
      • How to set the name servers for a domain registered at GoDaddy
      • How to change your account's primary domain name
      • How to use shared URLs to access your site
      • How to add an SRV record to a domain
      • How to use Anycast DNS with a web hosting account
      • What are subdomains, addon domains, and parked domains?
      • What are wildcard subdomains?
      • How to find the IP address for your hosting account
      • How to configure a .dk hosted custom name server
      • How to check a domain's automatic renewal status
      • How to verify site ownership with Google
      • What is a DNS TXT record?
    • Accessing your account
      • Accessing your hosting control panel
      • How to use SSH (Secure Shell) on Windows and Mac to access your account
      • How to access your account using SSH keys
      • Using FTP (File Transfer Protocol)
      • How to use Secure Copy Protocol(SCP) to transfer files securely on Windows and Mac
      • How to set up SFTP access for multiple users
      • How to use SSHFS (Secure Shell Filesystem)
      • How to use the SolusVM control panel to administer an unmanaged VPS
      • How to disable SSH logins for the root account
      • How to enable two-factor authentication for SSH
      • Warning message when you try to connect to a server using SSH
      • How to keep SSH connections alive
      • 'Output truncated' message when you try to list files using FTP
      • FTP accounts do not work after FileZilla upgrade
      • 'Too many connections from this IP' error message
      • How to change the SSH server port number
      • How to use FTP with Linux hosting accounts
    • How to set up e-mail for your web site
      • Configuring and accessing your e-mail
      • How to troubleshoot e-mail access problems
      • How to add signatures to webmail
      • An introduction to e-mail protocols
      • Accessing e-mail accounts through webmail
      • How to access e-mail accounts with client applications
      • How to troubleshoot e-mail accounts
      • E-mail client application setup
      • Messages are not copied to the Sent folder when using IMAP
      • How to view e-mail message headers
      • Using external SMTP servers to send e-mail
      • How to troubleshoot Apple (Mac) Mail
      • How to securely monitor e-mail using MailChannels
      • Using a catch-all e-mail address
    • How to migrate your data to Hostvento Hosting
      • Migrating an account from another web host
      • How to migrate e-mail from another host to Hostvento Hosting
      • Differences between site migrations and domain transfers
      • What is included and not included in cPanel migrations?
    • Backing up your data
      • How to back up data on shared hosting and reseller accounts
      • How to use Amazon S3 to back up and restore data
      • How to use Hostvento Cloud Backup
      • How to create e-mail backups
      • How to use Google Drive to back up and restore data
    • How to publish your web site
      • How to create and publish a site with the Hostvento Website Builder
      • How to publish your web site with Sandvox
      • How to publish your website with WebSite X5
      • How to publish your web pages with Google Web Designer
      • How to publish your web site with HTML-Kit
      • How to publish your web site with iWeb
      • How to publish your web site with Web Architect
      • How to publish your web site with PageBreeze
      • How to publish your web site with Dreamweaver
      • How to publish your web site with Web Easy Professional
      • How to publish your web site with Seamonkey
      • How to publish your web site with RapidWeaver
      • How to publish your web site with 90 Second Website Builder
      • How to publish your web site with Microsoft FrontPage
      • How to publish and edit files with UltraEdit
      • How to publish your web site with NetObjects Fusion
      • How to publish your web site with Freeway
      • How to publish and edit files with Sublime Text
      • How to publish your web site with Muse
    • Working with Linux
      • Introduction to Linux commands
      • How to work with compressed files on Microsoft Windows
      • How to edit text files from the command line
      • How to edit .htaccess files
      • How to compress files using cPanel or the command line
    • Internet and networking information
      • How to clear a web browser's cache and cookies
      • How to clear the DNS cache on your computer
      • How to clear the SSL state in a browser
      • Introduction to network troubleshooting
      • How to troubleshoot network connectivity using ping and traceroute
      • How to test DNS with dig and nslookup
      • How to troubleshoot network applications with telnet
      • How to troubleshoot SSL connections with the openssl program
      • Web pages display incorrectly on mobile devices
      • How to reduce backscatter and spam
      • How to check your website for broken links
      • How to troubleshoot network applications with curl
      • How to troubleshoot network applications with PowerShell and tnc
      • How to troubleshoot nameserver errors
      • Off-shore IP addresses
      • Google Chrome error message: "ERR_QUIC_PROTOCOL_ERROR"
      • How to set up a Wi-Fi hotspot on your mobile device
      • How to clear the DNS cache on macOS
      • How to change your DNS provider to reduce DNS propagation delays
    • Hostvento Hosting Policy FAQ
    • Why should I choose Hostvento Hosting?
    • What makes Hostvento Hosting’s service fast?
    • Solid State Drive (SSD) advantages
    • How To Start A Blog
    • How To Launch An eCommerce Website
    • How to determine your account's server name
    • Common web hosting terms and definitions
    • How to start a blog
      • How to start and run a blog
      • How to get started with WordPress
      • How to install and run a Nibbleblog site
      • Beyond WordPress basics
    • Top-level domain (TLD) availability
    • How to start a website on your hosting plan
    • How to determine which data center hosts your account
  • Folder icon closed Folder open iconEasy Website Software Setup Guide
  • Folder icon closed Folder open iconApplication optimization and configuration
    • How to enable the Redis extension for PHP
  • Folder icon closed Folder open iconSoftaculous 1-click application installer
    • When Will Softaculous Provide With The Latest Version Of A Script/Application?
    • How to use the Softaculous WordPress Manager
  • Folder icon closed Folder open iconHow to access the Hostvento Hosting Customer Portal
  • Folder icon closed Folder open iconHow to configure your domain to use Ezoic
  • Folder icon closed Folder open iconHow to back up and restore databases in Plesk
  • Folder icon closed Folder open iconHow to activate and configure Cloudflare ServerShield using the Plesk control panel
  • Folder icon closed Folder open iconHow to manage local backups on Dedicated servers
  • Folder icon closed Folder open iconHow to determine if your hosting account uses CloudLinux
  • Folder icon closed Folder open iconTurboHub: centralized, simplified WordPress site management from Hostvento Hosting

How to troubleshoot network connectivity using ping and traceroute

Estimated reading: 8 minutes 162 views

This article shows how to check network connectivity between two hosts using the traceroute and ping test tools. While traceroute checks the entire path network packets follow to get from one host to another, ping only checks the availability of a remote host. When attempting to diagnose the location of network congestion and slowdowns, Traceroute is particularly useful.

For a general introduction to network troubleshooting.

  • Testing network connectivity
  • Check host availability with ping test
  • Using ping test on Microsoft Windows
  • Using ping test on Apple Mac OS X and Linux
  • Testing the path to a remote host with traceroute
  • Using tracert on Microsoft Windows
  • Using traceroute on Apple Mac OS X and Linux
  • Testing network connectivity with MTR
  • Using MTR on Microsoft Windows
  • Using MTR on Linux

Testing network connectivity

Many scenarios require you to test things locally on your computer using the command line. For example, if you are trying to test the connection between your computer and a remote host, a web-based tool cannot provide this information. It only tests the connection from its own server to the remote host.

The exact steps to use the ping and traceroute tools from the command line depend on your computer’s operating system. Follow the appropriate procedures below for your operating system.

Check host availability with ping test

The basic ping test is one of the easiest things you can do to verify connectivity between your computer and a remote host. This test is easy to run from the command line.

Using ping test on Microsoft Windows

To use the ping program on Microsoft Windows, follow these steps:

  1. Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.
  2. At the command prompt, type the following command. Replace example.com with the domain that you want to test:Copyping example.com
  3. Interpret the output from ping:
    • If the remote host is active and configured to respond to ping requests, responses appear. For example, the following output shows ping responses from an Hostvento Hosting server:C:\Documents and Settings\user>ping hostventos78.hostventohosting.com Pinging hostventos78.hostventohosting.com [216.119.143.98] with 32 bytes of data: Reply from 216.119.143.98: bytes=32 time=46ms TTL=54 Reply from 216.119.143.98: bytes=32 time=45ms TTL=54 Reply from 216.119.143.98: bytes=32 time=47ms TTL=54 Ping statistics for 216.119.143.98:     Packets: Sent = 3, Received = 3, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 45ms, Maximum = 47ms, Average = 46ms
    • Alternatively, if the remote host is down, or not configured to respond to ping requests, you do not see any responses.
      Firewalls can be configured to block packets from ping. If a remote host does not respond to ping requests, it is possible that it is up and running normally, but ignoring ping requests.
Using ping test on Apple Mac OS X and Linux

To use the ping program on Mac OS X and Linux, follow these steps:

  1. Open a terminal window. The procedure to do this depends on your operating system and desktop environment:
    • On Mac OS X, click Applications, click Utilities, and then click Terminal.
    • On Linux, open a terminal window.
  2. At the command prompt, type the following command. Replace example.com with the domain that you want to test:
    Copyping example.com
  3. Press Ctrl+C to stop ping after a few tests run, and then interpret the output:
    • If the remote host is active and configured to respond to ping requests, responses appear. For example, the following output shows ping responses from an Hostvento Hosting server:user@localhost:~$ ping hostventos78.hostventohosting.com PING hostventos78.hostventohosting.com (216.119.143.98) 56(84) bytes of data. 64 bytes from hostventos78.hostventohosting.com (216.119.143.98): icmp_req=1 ttl=54 time=44.4 ms 64 bytes from hostventos78.hostventohosting.com (216.119.143.98): icmp_req=2 ttl=54 time=43.8 ms 64 bytes from hostventos78.hostventohosting.com (216.119.143.98): icmp_req=3 ttl=54 time=44.7 ms
    • On the other hand, if the remote host is down, or not configured to respond to ping requests, you do not see any responses.
      Firewalls can be configured to block packets from ping. If a remote host does not respond to ping requests, it is possible that it is up and running normally, but ignoring ping requests.
Testing the path to a remote host with traceroute

The traceroute program provides much more detailed information about a connection to a remote host than ping. Traceroute (or tracert on Microsoft Windows systems) displays information about each “hop” a packet takes from your computer to the remote host. It is often a good way to pinpoint possible ISP connection issues or network bottlenecks.

Using tracert on Microsoft Windows

On Windows-based systems, use the tracert program to test the path to a server. To do this, follow these steps:

  1. Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.
  2. At the command prompt, type the following command. Replace example.com with the domain that you want to test:Copytracert example.com
  3. Interpret the output from tracert:
    • Tracert displays each hop, indicated by a number in the left column. It also displays the domain and IP address at each hop, as well as the time spent. For example, the following output shows the path to an Hostvento Hosting server:C:\>tracert hostventos78.hostventohosting.com Tracing route to hostventos78.hostventohosting.com [216.119.143.98] over a maximum of 30 hops:   1     1 ms    <1 ms    <1 ms  Linksys [192.168.0.1] [Lines omitted for brevity]   8    45 ms    38 ms    38 ms  pos-1-6-0-0-pe01.350ecermak.il.ibone.comcast.net [68.86.87.130]   9    67 ms   150 ms    76 ms  cr-1.sfld-mi.123.net [66.208.233.62] 10    44 ms    63 ms    46 ms  gateway1.hostventohosting.com [216.234.104.254] 11    72 ms    57 ms    63 ms  hostventos78.hostventohosting.com [216.119.143.98] Trace complete. You can examine the times between each hop to look for places where the connection “hangs”. In some cases, tracert may also time out, which is indicated by an asterisk (*).
Using traceroute on Apple Mac OS X and Linux

To use the traceroute program on Mac OS X and Linux, follow these steps:

  1. Open a terminal window. The procedure to do this depends on your operating system and desktop environment:
    • On Mac OS X, click Applications, click Utilities, and then click Terminal.
    • On Linux, open a terminal window.
  2. At the command prompt, type the following command. Replace example.com with the domain that you want to test:
    Copytraceroute example.com
  3. Interpret the output from traceroute:
    • Traceroute displays each hop, indicated by a number in the left column. It also displays the domain and IP address at each hop, as well as the time spent. For example, the following output shows the path to an Hostvento Hosting server:user@localhost:~$ traceroute hostventos78.hostventohosting.com 1 Linksys (192.168.0.1) 0.315 ms  0.452 ms  0.472 ms [Lines omitted for brevity] 8  pos-1-6-0-0-pe01.350ecermak.il.ibone.comcast.net (68.86.87.130)  39.010 ms  38.054 ms  38.092 ms 9  cr-1.sfld-mi.123.net (66.208.233.62)  45.056 ms  44.335 ms  44.974 ms 10  gateway1.hostventohosting.com (216.234.104.254)  45.274 ms  46.650 ms  46.089 ms 11  hostventos78.hostventohosting.com (216.119.143.98)  44.654 ms  46.028 ms  43.852 msYou can examine the times between each hop to look for places where the connection “hangs”. In some cases, traceroute may also time out, which is indicated by an asterisk (*).
Testing network connectivity with MTR

MTR (“My Traceroute”) is a network diagnostic tool that combines the functionality of the ping and traceroute programs described above. It is a good way to monitor in real-time the path network packets take to their destination.

Using MTR on Microsoft Windows

WinMTR is a version of MTR for computers running Microsoft Windows. To download WinMTR, use your web browser to go to https://sourceforge.net/projects/winmtr, and then install the program on your computer.

After you install WinMTR, follow these steps to run a network test:

  1. Start WinMTR.
  2. In the Host text box, type the name of the domain you want to test.
  3. Click Start. MTR continually tests connectivity to the host, displaying the packet route and total number of pings.
  4. To stop testing, click Stop.You can click Copy Text to clipboard to copy the MTR output. This enables you to paste it into another application, such as a text editor or e-mail client. For example, Hostvento Hosting’s Guru Crew may ask to see the MTR output if you open a support ticket about network connectivity.
Using MTR on Linux

MTR may already be installed by your Linux distribution. If it is not installed, you can install it using your distribution’s package manager (for example, apt-get or yum). After MTR is installed, follow these steps to run a network test:

  1. In Linux, open a terminal window.
  2. To begin a network test, type the following command. Replace example.com with the name of the domain you want to test:Copymtr –curses example.comThe previous command starts MTR in text mode. If your Linux installation has a desktop environment installed, you can type the following command to start MTR with a GUI instead:
    Copymtr –gtk example.com
  3. MTR continually tests connectivity to the host, displaying the packet route and total number of pings:
    • To change the display mode, type d.
    • To restart the test, type r.
    • For additional help, type h.
  4. To stop testing, type q.

How to add CAPTCHA protection to a WordPress site

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Share this Doc

How to troubleshoot network connectivity using ping and traceroute

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by Hostvento