NAD0137E The port number port_number is in use on the remote machine.

Explanation

The port is already being used by another process on the remote machine.

Action

Either specify a different port which is not being used by any other process or terminate the application that is using it. Use the following commands to determine what process is using the port. In any instance, replace the generic "port_number" with the specific port value.

Windows: netstat -nao | findstr port_number The last column shows the process ID information.

Linux: netstat -nap | grep port_number The last column shows the process ID/Program name information.

AIX: 1. netstat -Aan | grep port_number The hex number in the first column is the address of the protocol control block (PCB) 2. rmsock "addr of PCB" tcpcb This command shows the process that is holding the socket. Note that this command must be run as root.

Solaris: for pid in `ps -ef|grep -v UID|awk '{ print $2 }'`; do pfiles $pid 2>/dev/null|awk '/^[0-9]/ {pid_line=$0} /port: port_number/ {print pid_line; print}'; done The first line shows the process ID information.

HP-UX: for pid in `ps -ef|grep -v UID|awk '{ print $2 }'`; do pfiles $pid 2>/dev/null|awk '/^[0-9]/ {pid_line=$0} /localaddr\/port =.*port_number.*remaddr\/port =/ {print pid_line; print substr($0,0,index($0,"remaddr")-1); exit}'; done The first line shows the process ID information.