What Is Netstat and What Is It Used For?

Netstat is a networking command that displays networking statistics. It can be used as a monitoring tool. Its syntax is very simple:

You can use it for debugging, troubleshooting, and optimization of your server.

There are a number of things that Netstat can show you:

  • open connections,
  • listening ports,
  • local IP addresses,
  • remote IP addresses,
  • routing tables, and a number of more things.

The network statistics ( Netstat ) command is a networking tool used for troubleshooting and configuration, that can also serve as a monitoring tool for connections over the network. Both incoming and outgoing connections, routing tables, port listening, and usage statistics and numbers are common uses for this command.

This article will give you information about what command will list only current connections, including IP addresses and port numbers.


How to List Connections and ports with Netstat

This table shows netstat commands for Windows OS:







All active connections will be listed in a standard format.


netstat -a

Displays all active ports


netstat -e

Displays information about your network connection (received and sent data packets, etc.)


netstat -i

The netstat overview menu will appear.


netstat -n

Addresses and port numbers will be displayed numerically.

-p protocol

netstat -p TCP

The connections for the specified protocol, in this case, TCP, will be displayed (also possible: UDP, TCPv6, or UDPv6)


netstat -q

Lists all connections, all listening TCP ports, and all open TCP ports that are not listening


netstat -r

Displays the IP routing table


netstat -s

Returns statistics for important network protocols like TCP, IP, and UDP.


Why You Should Hide Your IP?


Your IP address identifies you online in today's data-driven world, and your online activity is extremely important. To regain control of your online privacy, hide your IP address. Your IP address could reveal sensitive information such as your shopping and purchasing habits, as well as your geographic location.


How to Hide IP Address with VPN Unlimited


Your IP address is protected when you use a VPN since your traffic is routed through the VPN server. When your traffic reaches its destination — websites accessed, online apps launched, uploads, downloads, and so on — it does so using a "virtual" IP address provided by the VPN.

Your VPN provider will be the only one who can see your actual IP address. That is why you should choose VPN Unlimited,  we do not store logs of your activities.

KeepSolid is committed to protecting your online privacy. Because our team has never heard of any other policy than a zero-log policy, we can confidently state that VPN Unlimited does not maintain logs of your online activities. We never link your online activity to your account, email, device, or IP address thanks to our no-logs VPN policy.

We do not log the following information that transfers the network during your VPN session to ensure that no unauthorized parties or cybercriminals have access to your sensitive data:

  • History of browsing
  • Time to connect
  • Metadata
  • Downloads
  • Server utilization
  • Data content
  • IP address 

Get your IP protected and surf the internet freely with VPN Unlimited!

other platforms

VPN Unlimited is also part of MonoDefense security bundle.