Starteam Server error "Unable to start listening for connections"

Starteam Server error "Unable to start listening for connections"

Problem:

Recently, Microsoft has increased the dynamic client port range for outgoing connections in Windows Vista and in Windows Server 2008. The new default start port is 49152, and the default end port is 65535. This is a change from the configuration of earlier versions of Windows that used a default port range of 1025 through 5000.

As you may already know, StarTeam Server uses 49201 as default port. 

Such change increases probability--when all the services are racing to grab resources on system start up--a random process may occupy a pre-configured StarTeam port, causing that StarTeam server to fail with one of these error messages:

  • "Only one usage of each socket address (protocol/network address/port) is normally permitted"
  • "Unable to start listening for connections. The IP address and endpoint combination may already be in use"

How can I change the dynamic port range to prevent this from happening?

Resolution:

Depending on the number of StarTeam configuration you plan to host, the default dynamic port range should be configured to start from 49201+n, with n being the number of ports reserved for StarTeam.

See this Microsoft support article for more information on setting the dynamic port range:

The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008

Alternatively, configure StarTeam Server to use a port number much lower than 49152. This solution will require changes on StarTeam Client to connect to the new port number. 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-05-06 02:42
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.