Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Check the number of ephermal ports in use

Check the number of ephermal ports in use

Table of contents
Created by Michael Osborn, last modified by Eric Bryant on Oct 05, 2016

Views: 3,228 Votes: 1 Revisions: 9


This article describes how to check the number of TCP ports (that is, ephermal ports) that are currently in use. This is useful for troubleshooting all ports in use.


All SAM versions


In the command prompt, run the command:


netstat -nao | find /i "estab" /c


The value returned is the number of ports currently being used. To increase the number of ports available for TCP processes, refer to the article Ephemeral Port Exhaustion.


If the number of ports seem high and there are a lot of 'Time_Wait' state instances in the nestat output check the following:

  • Check the amount of Applications with the status of 'Down' (only due to failed credentials, meaning not down to component critical) and 'Unknown' status. Clean up/delete and or fix applications (failed credentials) with the mention status indications
  • Check the amount of nodes being polled via WMI that are Unknown and fix or remove from Orion. Troubleshooting WMI connectivity
  • Check 'Manage Agents' page from the Orion webconsole to see what agents are unable to connect and fix or remove. Troubleshooting Agents

Last modified