Download Article Download Article

This wikiHow teaches you how to run a "traceroute" command on your computer or smartphone.

Things You Should Know

  • "Traceroute" allows you to check if you're having connection issues from your network.
  • Open your Command Prompt and enter "tracert [website]" with your preferred website.
  • Command Prompt will reveal up to 30 different gateways for you to review.
Method 1
Method 1 of 5:

Windows

Download Article
  1. Doing this searches your computer for the Command Prompt program.
    Advertisement
  2. 4
    Determine a website for which you want to trace the route. For example, if you want to see a list of gateways between your computer and Facebook, you would use Facebook's website.
  3. Type in tracert website.com—making sure to replace website.com with the name and extension for your preferred website (e.g., facebook.com)—and press Enter.
    • You don't need to provide the "https://" or "www." section of the website's address.
    • If you have the website's IP address, you can use it instead of the URL.
  4. Command Prompt will deliver up to 30 different gateways (also called "hops") through which the IP package passes. Once you see "Trace complete" appear below the list of hops, your trace has successfully run its course.
    • If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.[1]
  5. Advertisement
Method 2
Method 2 of 5:

macOS

Download Article
  1. This will search your computer for the Network Utility program.
  2. Double-click Network Utility near the top of the search results. Doing so will prompt the Network Utility window to open.[2]
  3. It's a tab at the top of the Network Utility window.
  4. In the text box near the top of the window, type in the address (or IP address) of the website to which you want to trace a path.
    • For example, to trace a path to wikiHow's website, you would enter wikihow.com here.
    • You don't need to provide the "https://" or "www." section of the website's address.
  5. It's a blue button on the right side of the page. Doing so will prompt Network Utility to begin tracing the path to your selected website.
  6. Traceroute will bring up a list of the gateways through which your trace travels on the way to its destination.
    • If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
  7. Advertisement
Method 3
Method 3 of 5:

iPhone/iPad

Download Article
  1. Tap OPEN in the App Store, or tap the radar display-shaped iNetTools app icon on one of your iPhone's Home Screens.
  2. It's in the middle of the screen.
  3. You'll find this option near the top of the screen. Doing so brings up your iPhone's on-screen keyboard.
  4. Type in the address (or IP address) of the website to which you want to trace a path.
    • For example, to trace a path to Google's closest server, you would enter google.com here.
    • You don't need to provide the "https://" or "www." section of the website's address.
  5. It's in the top-right corner of the screen. iNetTools will begin tracing a route to your specified address.
  6. Once the spinning wheel across from the "Result" heading disappears, you can review the address of each gateway through which your trace passed on its way to the destination.
    • If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
  7. Advertisement
Method 4
Method 4 of 5:

Android

Download Article
  1. Tap OPEN in the Google Play Store, or tap the PingTools app icon in your Android's App Drawer.
  2. Doing so agrees to PingTools' terms of use and opens the app.
    • If you've opened PingTools before, you might be able to skip this step.
  3. It's in the top-left corner of the screen. A pop-out menu will appear.
  4. This option is in the middle of the pop-out menu.
  5. It's at the top of the screen. Doing so will bring up your Android's on-screen keyboard.
    • If a website's address is already in this text box, remove it before proceeding.
  6. Type in the address (or IP address) of the website to which you want to trace a path.
    • For example, to trace a path to Twitter's closest server, you would enter twitter.com here.
    • You don't need to provide the "https://" or "www." section of the website's address.
  7. It's in the top-right corner of the screen. Doing so will prompt PingTools to begin tracing a route to your selected address.
  8. Once the trace is complete, you can review the address of each gateway through which your trace passed on its way to the destination.
    • If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
  9. Advertisement
Method 5
Method 5 of 5:

Linux

Download Article
  1. To do so:
    • Type in sudo apt install traceroute and press Enter.
    • Type in your password and press Enter.
    • Type y and press Enter if prompted.
    • Wait for Traceroute to install.
  2. 3
    Determine a website for which you want to trace the route. For example, if you want to see a list of gateways between your computer and YouTube, you would use YouTube's website.
  3. Type in traceroute website.com—making sure to replace website.com with the name and extension for your preferred website (e.g., youtube.com)—and press Enter.
    • You don't need to provide the "https://" or "www." section of the website's address.
    • If you have the website's IP address, you can use it instead of the URL.
  4. Once the trace is complete, you can review the address of each gateway through which your trace passed on its way to the destination.
    • If you see any blank trace entries, you can ignore them—they signify that the trace is being returned as a result rather than passing through a gateway.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I don't see a GO tab on my Mac. Does it go by another name?
    Community Answer
    Community Answer
    Maybe you have a Mac with a GO tab in another language. GO can be said in many different languages and ways.
  • Question
    When I write a command tracer to Google in Windows, I get this message: "tracer is not recognized as an internal or external command". What should I do?
    Community Answer
    Community Answer
    it looks like you typed in "tracer google.com", when actually the command is "tracert google.com".
  • Question
    What do I do if the request timed out on every hop?
    Community Answer
    Community Answer
    Call your internet provider, or check the DNS of the address that you're running the traceroute to.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • The number of gateways between you and your selected website does not include any blank entries. For example, if you see 12 gateways with three blank entries, there are only 9 gateways between you and the website.
Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!
Advertisement

Warnings

Advertisement

You Might Also Like

Check Your Computer's System InformationHow to View System Information on Windows & Mac in Seconds
Change or Create Desktop Icons for Windows7 Easy Ways to Change or Create Desktop Icons on Windows
Tell if Your Mac Is Too Old to UpdateTell if Your Mac Is Too Old to Update
Automatically Shut Down Your Computer at a Specified TimeAutomatically Shut Down Your Computer at a Specified Time
Can You Change an Apple ID Without Losing EverythingCan You Change Your Apple ID Without Losing Everything? Learn How to Keep What You Need
Install Macos on a Virtual MachineHow to Install MacOS on a Virtual Machine Using VirtualBox
Force Shut Down a MacHow to Force Shut Down or Restart a Frozen Mac
Open Exe Files on MacHow to Open Executable Files on Mac: Wine, Parallels, and Boot Camp
What Does True Tone DoYour Guide to Apple’s True Tone Display Technology & How to Use It
Install AltstoreEasy Ways to Install AltStore (with Pictures)
Create a TXT File on MacCreate a TXT File on Mac
Change the Scroll Direction on a MacHow to Change the Scroll Direction on a Mac
Turn On a Mac ComputerTurn On a Mac Computer
Find Your IP Address on a MacHow to Find Your Internal & External IP Address on a Mac
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 618,732 times.
How helpful is this?
Co-authors: 28
Updated: August 24, 2023
Views: 618,732
Categories: Mac
Article SummaryX

1. Open the search bar.
2. Type "command prompt".
3. Click Command Prompt.
4. Type "tracert wikihow.com.
5. Press Enter.

Did this summary help you?

Thanks to all authors for creating a page that has been read 618,732 times.

Is this article up to date?

Advertisement