search cancel

DevTest - Address already in use: bind


Article ID: 108618


Updated On:


CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization


Cannot start one or more DevTest components because a port is already in use.

In the log file, you find something similar to this:

| Exception: 
| Message: Unable to listen for requests on address/port xxxxx. It is either currently in use by another process or is not allowed by the operating system. 
| Trapped Exception: Address already in use: bind 
| Trapped Message: Address already in use: bind 
STACK TRACE Address already in use: bind 
at Method) 

where xxxxx = the required port.


All supported DevTest releases.


By default DevTest listens on all IP addresses associated with a physical machine.

This can cause issues especially with Virtual Machines or other setups with multiple in use IP addresses.


In the, uncomment the following line:

Adjust the IP address to the IP address DevTest should listen to.

The line should look something like this:<yourIP>

Additional Information

Refer to section "DevTest Property File (" then choose link "Server Properties" in the documentation of the DevTest release you are running.