How to monitor network connections in Windows 10

You can control all the connections that our computer makes, it will give us the ability to have all the information about which sites our equipment is connecting to, detect any possible failure beforehand or find out why the connection is causing problems or is slower than usual.

Either because of the number of connections, because some that we did not have controlled are using a lot of bandwidth or because someone is connecting pirately to our team, there are times when things are not going as they should. Monitor our connections From our own computer it will give us that ability to anticipate problems and detect them in time.

monitor connections

NETSTAT

And we will not have to install anything unusual on our computer, we will not use an external application or download any program that will take up more space. We are going to use a simple command that everyone can handle without major complications and which is little known by some users but very useful: NETSTAT. This program whose name comes from the combination of Network plus Statistics is available on the command line of our computer, the famous cmd.exe or ‘Command Prompt’ if we have Windows 10. We can thus monitor connections Networking in Windows.

It is a little known tool for some users but very easy to use, although it is a command console that not everyone dares to touch. If you have never dared to open one of these windows, don’t worry. We will give you all the indications and steps to follow so that you do not have any problem when monitoring your connections.

How to open NETSTAT

The first thing we will have to do is search for ‘Command Prompt’ in Windows 10. We will find it by typing its name in the search area or by going to the Start Menu and displaying the Windows System folder. For the simplest options we will not need administrator permission, but if you want to use some of the most complete tools, your team may require you to be an administrator and enter ‘Command Prompt’ as such.

Once we enter the command console, we will write netstat and, when we press Enter, we will have as a response a list of the connections running on our computer at that moment, in real time. But we can expand this information further, adding more commands in the console when doing the search. If we type netstat? in the command console we will find the list of added options as explained below. There are all kinds of options and you will have to see the one that best suits what you need to monitor network connections in Windows.

Monitor connections in Windows - NETSTAT

Every options

  • -to: Show all connections and listening ports.
  • -b: Shows the executable related to the creation of each connection or listening port. In some well-known cases, executables host multiple independent components, and in these cases the sequence of components related to creating the connection or the listening port is displayed. In this case, the executable name is enclosed in square brackets, «[]», At the bottom, above the component you called, and so on until TCP / IP is reached. Please note that this option can be time consuming and will fail if you do not have the proper permissions.
  • -e: Show Ethernet statistics. This can be combined with the -s option.
  • -f: Show fully qualified domain names (FQDN) for external addresses.
  • -n: Display addresses and port numbers in numerical format.
  • -o: Displays the ID of the owning process associated with each connection.
  • -p proto: Show connections for the protocol specified by proto; proto can be any of the following: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display statistics by protocol, proto can be any of the following: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  • -q: Shows all connections, listening ports, and non-listening TCP binding ports. Non-listening ports may or may not be associated with an active connection.
  • -r: Show the routing table.
  • -s: Shows the statistics by protocol. By default, statistics are displayed for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option can be used to specify a subset of the default values.
  • -t: Shows the download status of the current connection.
  • -x: Displays NetworkDirect connections, listeners, and endpoints.
  • -y: Show the TCP connection template for all connections. Cannot be combined with other options.
  • Interval: Redisplays the selected statistics and pauses at intervals of several seconds between each display. Press Ctrl + c to stop the statistics from displaying again. If omitted, netstat will display configuration information once.

Complete monitoring

In other words, if we write netstat -n in the command console, for example, the list of connections that we will find will be more detailed since it will show us the full name of the associated domain.

With all these options and their possible combinations, we will have monitored all our connections in Windows 10 to check them regularly and check that everything works as it should and there are no problems that affect our normal use of the computer. With this extensive information, we will also ensure that no strange software It is causing damage to our connection and to our computer, since we can detect unwanted connections or that are not ours. It is also recommended check with netstat regularly which ports are open as they are the gateway to our computer for possible infections.

Other Commands

There are other network commands that you can use to check if everything is correct, what speed and quality there are, etc.

ping

For example, ping. Ping is one of the most basic and used commands and what it does is diagnose the state, speed and quality of the determined network. Another of the most interesting functions is that it is capable of identifying problems. For it to work, we must ping the console followed by the IP address or URL that interests us.

ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-c compartment] [-p] [-4] [-6] destination_name

pathping

Pathping will also help monitor the network from Windows 10 to provide us with information about network latency or network loss. What it does is periodically send “ping” to the different routers and calculate statistics for each one.

pathping [-g lista_host] [-h saltos_máx] [-i dirección] [-n] [-p período] [-q núm_consultas] [-w tiempo_espera] [-4] [-6] destination_name

tracert

Surely you have ever used it and it helps us determine or know the route of an IP to reach its destination.

tracert [-d] [-h saltos_máximos] [-j lista_de_hosts] [-w tiempo_de_espera]
[-R] [-S srcaddr] [-4] [-6] destination_name

Leave a Reply

Your email address will not be published. Required fields are marked *