Connection monitoring with NetStat Agent

I was asked by email how to monitor only one local port, so decided to answer in blog.

Let assume that we have a HTTP server (Apache) on local port 80 and we want to monitor all HTTP connections. With installed NetStat Agent it is very easy to do.

After running NetStat you will see a lot of connections (click to see the large picture):

netstat

So we need to create a filter in “Monitor” tab to hide unwanted connections:

  1. In the context menu (right click) select “Clear” to clear all fields.
  2. Set the name of filter: “hide all”.
  3. Set action as “Hide”.
  4. Check on the box “Enabled”.
  5. Press “Add” button to add a new filter.

The result you may see on the screenshot:

netstat monitor

After adding this filter all connections are invisible. So we need another one to show only wanted connections:

  1. In the context menu (right click) select “Clear” to clear all fields.
  2. Set the name of filter: “show http”.
  3. Set the local port: 80.
  4. Check on “Select” action only.
  5. Press “Add”.

See screenshot:

netstat filter

Now if you select “Connections” tab again, you will see only HTTP connections:

HTTP connections only

With NetStat Agent you may monitor HTTP visitors in real-time mode!