Home News Best Windows 10 commands to diagnose your Internet connection

    Best Windows 10 commands to diagnose your Internet connection


    Windows 10

    Diagnosing an Web connection in Home windows could be a irritating expertise. To assist with this, we have now outlined six Home windows 10 instructions that you should use to troubleshoot your Web connection and assist decide why you can not attain a web site.

    The entire instructions we checklist beneath require you to execute them through the Home windows 10 command immediate.

    To entry the command immediate, click on on the Begin button, sort cmd, and click on on the ‘Command Immediate‘ search outcome when it seems.

    Home windows 10 will now open the Command Immediate and anticipate instructions that you simply sort in after which press enter in your keyboard to execute.

    Windows 10 Command Prompt
    Home windows 10 Command Immediate

    The instructions beneath are present in older variations of Home windows, and their directions are nearly similar, however our further directions deal with Home windows 10.


    When connecting to a web site, you enter a textual URL corresponding to https://www.google.com. Nevertheless, when your browser connects to the hostname, www.google.com, it should first convert it into an IP handle by querying your configured DNS servers.

    In case your DNS servers aren’t working or are returning flawed info, your laptop won’t be able to connect with requested web sites and community assets.

    To diagnose these points, you should use the nslookup utility to transform a site into an IP handle.

    For instance, in the event you wished to see the IP addresses related to www.google.com, you’d open the command immediate and enter the nslookup www.google.com command, as proven beneath.

    Looking up the IP address for www.google.com
    Trying up the IP handle for www.google.com

    When utilizing nslookup, the command will return each an IPv4 and an IPv6 handle. We’re solely involved with the IPv4 IP handle.

    In case your present DNS servers aren’t responding or returning an IP handle for web sites, your points could also be DNS-related.

    To repair this, strive totally different DNS servers, corresponding to the general public Google and Cloudflare DNS servers, and see in the event that they resolve your points.

    To do that, please observe these steps:

    1. Click on the Begin button and sort Community Standing. When the Community Standing outcome seems, click on on it to open the display.
    2. On the Community Standing display, click on on Change adapter choices.
    3. Discover your Ethernet or WiFi connection and right-click on it, and choose Properties.
    4. Underneath “This connection makes use of the next objects:”, double-click on the Web Protocol Model 4 (TCP/IP) merchandise to open it.
    5. Choose Use the next DNS server addresses and enter both (Cloudflare) or (Google) as your most popular DNS server.
    6. Press OK after which OK once more, and your Web ought to work once more.


    The ping command permits you to examine in the event you can connect with a hostname or an IP handle and supply a fundamental measurement of the latency or lag between your connection and the distant system.

    To make use of the ping command, merely open a command immediate and sort ping [hostname] or ping [ip address] after which press enter. For instance, to examine in the event you can connect with www.google.com, you’d sort ping www.google.com and press enter.

    Pinging www.google.com
    Pinging www.google.com

    As you possibly can see from the above screenshot, after we pinged www.google.com, we obtained 4 replies from its IP handle

    Every of these replies had roundtrip occasions of 3ms to 9ms, which could be very quick. Should you begin seeing ping response occasions within the lots of, this means a poor connection between you and the positioning.

    As well as, the ping instructions present that we despatched 4 packets and obtained 4 again, with 0% misplaced. Should you begin seeing packet loss, then that may be a good indicator of a connection drawback.

    Lastly, in the event you use the ping command, and it exhibits ‘Vacation spot host unreachable’ for every try, however different computer systems don’t have any drawback connecting to your community, then you could have a community connectivity drawback in your laptop.

    It needs to be famous that some networks block ping requests, so even when you don’t obtain a response, it doesn’t definitively imply the distant system is just not accessible.


    Once you connect with a distant system, your requests journey by means of a collection of various routers, known as hops, earlier than they make it to their final vacation spot.

    In case you are discovering that your connection to a distant server is gradual, you should use the tracert command to examine which router alongside the best way is gradual.

    When utilizing the Home windows tracert command (or traceroute in Linux), you will notice every connection your request goes by means of earlier than it reaches the ultimate vacation spot.

    For every connection, tracert will show three response occasions so you possibly can see how briskly that exact connection is.

    For instance, you should use the tracert www.google.com command to see what connections your requests undergo earlier than reaching Google’s net server.

    The less hops and decrease the response time, the quicker your connection is, as proven beneath.

    Tracert showing little congestion to www.google.com
    Tracert exhibiting little congestion to www.google.com

    Nevertheless, if there are routing issues or you’re utilizing a VPN, one can find many connections with excessive latency between your laptop and the distant system, indicating the connection is gradual, as proven beneath.

    Tracert showing a lot of congestiong to www.google.com
    Tracert exhibiting numerous congestion to www.google.com

    Sadly, routing congestion is just not sometimes one thing you possibly can repair, and you have to to attend till there’s much less visitors or the routing concern is fastened by the ISP suppliers.


    The PathPing command is an attention-grabbing utility because it combines each the ping and tracert instructions into one software.

    Utilizing this software, you possibly can examine the route your request makes when connecting to a distant system and carry out pings to every router to examine if the system is reachable and the way gradual its response is.

    To make use of the command, you’d enter pathping www.google.com from the command immediate, as proven beneath.

    Using the PathPing command on Windows 10
    Utilizing the PathPing command on Home windows 10

    When you might surprise why you’d use ping or tracert over the pathping command, the latter takes for much longer to complete. Due to this fact, the opposite instruments could also be higher suited to fast duties.


    In case your Web seems to be working appropriately, however you could have points connecting to a selected web site or service, you should use the Telnet command to examine if that service is operating on the distant host.

    The telnet command is a utility that enables bidirectional communication between your laptop and a distant system. Initially designed for distant console entry to a server, Telnet will also be used to diagnose whether or not you possibly can connect with a selected service operating on a hostname.

    When a server is operating on a distant laptop, it’s going to hear on sure TCP ports, which you’ll Telnet to, and see in the event you can connect with the service.

    A few of the extra widespread ports you’d examine with Telnet are:

    Service Title TCP Port
    FTP 21
    SSH 22
    HTTP 80
    HTTPS 443

    For instance, if you’re wish to examine if an online server is listening on www.google.com, you should use the telnet www.google.com 443 command to connect with the webserver on port 443.

    If a service is just not operating on the 443 TCP port, the Telnet program will state, “Connecting To www.google.com…Couldn’t open connection to the host, on port 443: Join failed”

    Nevertheless, if the service is operating, you will notice a blinking cursor indicating a connection exists.

    Using Telnet to check if a web server is running
    Utilizing Telnet to examine if an online server is operating

    One other instance that exhibits a bit extra element is to examine if an FTP server is operating on TCP Port 21 on a distant host. For instance, the command telnet speedtest.tele2.web 21 would present the next display if the FTP service is operating.

    Using Telnet to check if a FTP server is running
    Utilizing Telnet to examine if an FTP server is operating

    Telnet is just not put in by default in Home windows 10 however might be put in from the ‘Flip Home windows options on and off’ settings display, which you’ll seek for on the Begin Menu.

    Install the Telnet utility
    Set up the Telnet utility

    As soon as on the Home windows Options display, put a checkmark subsequent to the Telnet Consumer possibility and press OK to put in this system.

    The right way to repair your community connection

    After utilizing these instructions, you discover that your Web connection is just not working or is gradual, it may be troublesome to find out the trigger.

    To troubleshoot connection points, Microsoft suggests the next steps:

    • Use the Community troubleshooter by clicking on Begin  > Settings  > Community & Web > Standing. Underneath Change your community settings, choose Community troubleshooter. Run by means of the troubleshooting wizard to see if Home windows 10 can mechanically resolve any detected points.

    • In case you are utilizing WiFi, be sure you are linked by going to Begin  > Settings  > Community & Web > Wi-Fi. Subsequent, choose Present out there networks, and if a community you anticipate to see seems within the checklist, choose it, then choose Join.

      In case you are utilizing Ethernet, make your cable is inserted appropriately into your laptop and that there aren’t any points together with your community hub. It’s also possible to strive swapping out the cable, if potential, to ensure it is not a free cable head or different bodily
      concern inflicting the issue.

    • Examine your Web connection by going to web sites from a special system. Should you can join from different gadgets at your location, you recognize it is a difficulty with the person laptop. Nevertheless, if nobody at your location can entry the Web, it’s doubtless both a router or Web modem concern, which you need to restart.

    It’s also possible to strive altering DNS servers as described above, disconnecting from a VPN, or performing a SpeedTest to make sure your ISP connection is just not the issue.

    After performing this troubleshooting, in the event you discover that you could nonetheless not connect with the Web or the velocity assessments present a really low quantity, you need to contact your ISP and have them assist you troubleshoot.

    Source link