Socket Address Already in Use
This error occurs when multiple processes attempt to use the same local port simultaneously, preventing the component from binding to it. For example, if two processes try to listen on the same port, the system will return the error:
Only one usage of each socket address (protocol/network address/port) is normally permitted.
To resolve this issue, you can either:
- Identify and stop the process that is already bound to the port, or
- Set the component's LocalPort property to 0.
Setting LocalPort to 0 instructs the system to automatically assign an available port for the component.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.