"SRP StartListening failed. Port 4101 may be in use by another application" error is received when starting the BlackBerry Router

Article ID: KB04675

Type: Support Content

Last Modified: 04-09-2012

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Lotus Domino
  • BlackBerry Enterprise Server for Novell GroupWise
Jump to: Environment | Overview
CollapseEnvironment
  • BlackBerry® Enterprise Server software 4.0 to 5.0
CollapseOverview

When attempting to start the BlackBerry® Router, it fails to start with the service specific error code 0 and the following error message:

SRP StartListening failed. Port 4101 may be in use by another application

The Event Viewer Application log displays the following errors:

Error 1

Event Type: Error
Event Source: BlackBerry Router
Event Category: None
Event ID: 10000
Date: 10/6/2006
Time: 16:03:27 PM
User: N/A
Computer: BES01

Description 1

The description for Event ID ( 10000 ) in Source ( BlackBerry Router )cannot be found. The local computer may not have the necessary registry information or message dynamic-link library (DLL) files to display messages from a remote computer, try using the /AUXSOURCE= flag to retrieve this description. See Help and Support in the Event View application for details. The following information is part of the event: [DIAG] EVENT=bind_failed, ERROR=10048.

Error 2

Event Type: Error
Event Source: BlackBerry Router
Event Category: None
Event ID: 10000
Date: 10/6/2006
Time: 16:03:27 PM
User: N/A
Computer: BES01

Description 2

The description for Event ID ( 10000 ) in Source ( BlackBerry Router ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer, try using the /AUXSOURCE= flag to retrieve this description. See Help and Support in the Event View application for details. The following information is part of the event: [DEVICE_MANAGER] SRP StartListening failed. Port 4101 may be in use by another application.

Port 4101 is the default port used by the BlackBerry Router for the serial bypass functionality. Another application is using port 4101 on the computer hosting the BlackBerry Enterprise Server or the BlackBerry Router and it is conflicting with the serial bypass functionality.

To confirm which application is bound to port 4101, perform the following actions:

  • Open a command prompt window and type netstat -ab >c:\<filename>.txt
  • Open the <filename>.txt and identify the third-party application that is using port 4101

If the application in question requires port 4101 then perform one of the two courses of action below

1.  Install a remote BlackBerry Router.  See KB13732 for more information.

2.  Modify the port used by the BlackBerry Router

Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows® operating system. Document and back up the registry entries prior to implementing any changes.

Modify the serial bypass port used by the BlackBerry Router by opening the Registry Editor and creating the following registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerryRouter:

Name: DevicePort
Type: REG_DWORD
Data: <Available port number> (Decimal)

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.