Submit a ticketCall us
Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > How to increase ephemeral port allowances

How to increase ephemeral port allowances

Created by William Muhle, last modified by Jie Y Lee on Feb 05, 2018

Views: 5,518 Votes: 19 Revisions: 13


By default, Microsoft windows limits the port utilization that can be spun up for a TCP connection. They limit it via making it so that the server uses ports between 1024 and 5000.  This can often times cause issues on the Orion server due to the amount of open connections that we require in order to gather up all the information that we need from nodes.  

The error that you will end up seeing if you are running into this problem is generally as follows:

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.  


You can increase the number of ports that the Windows server is able to utilize however.


  • Any SAM installation
  • Any Orion installation


In order to increase the port allowance within windows, please do the following:


1. Click start -> run

2. Type in Regedit and hit enter.

3. Once the Regedit has opened, navigate to the following key and right click on Parameters:


4. Select New -> DWORD (32) bit value.

5. Once the new value has been created, rename it to MaxUserPort (** Be aware that the capitalization matters).

6. Right click the new setting and select Modify.

7. Put a tick mark in the Decimal section under Base, and then input a value between 5000 and 65534 in the Value data section.  The number you in input in there will be the port number that windows is now allowed to go up to in the connection utilization.

8. Exit the registry editor and reboot the server.


 For more information, you may visit:


*****Pushing out the port allowances is not a true fix in most cases. Please see the following article to troubleshoot the cause of the increased TCP port usage:


Check Emphemeral Ports in use



Last modified