I want to start listening on all adapters with the following code:
_listeners = Connection.StartListening(ConnectionTypeToUse, new IPEndPoint(IPAddress.Any, ServerPort));
I am using only TCP connections.
But in certain scenarios there is the following error:
“It was not possible to open port #8000 on 10.255.231.107. This endPoint may not support listening or possibly try again using a different port.”
I have seen this error also when a VPN adapter is present.
My restriction is that I must use the specified TCP port because the clients will connect to this port from the same configuration.
Is there any other possibility to start listen for each individual adapter?