Port 59100 blocked investigation (Socket error 10013)

Depending on your version you could see 1 of these errors:

  • ClientListenerException (Socket error 10013)
  • BIND_SOCKET_ERROR
  • An attempt was made to access a socket in a way forbidden by its access permissions

A restart will probably solve this, but if you’d like to help solve the issue for good, please provide the requested info. :slightly_smiling_face:

On my end, I’ll add a way to change the default port but if the issue is reccurring, it’ll eventually happen with the new port too.

Info

  • Does it happen the first time you launch AudioRelay? (after a PC restart)
  • Or does AudioRelay stops working without a PC restart? (e.g: AudioRelay works fine first, then you close and start the app and the issue occurs)
  • Which version of AudioRelay for PC do you use?

Reason 1: Reserved or already in use

When the issue occurs, open a command prompt with administrator rights

Please copy-paste the results of these 3 commands:

  • netstat -anob | findstr 59100
    • (Tells us if the port 59100 is already used)
  • netsh int ip show excludedportrange protocol=tcp
    • (Tells us if the port 59100 is in a reserved range)
  • netsh int ipv4 add excludedportrange protocol=tcp startport=59100 numberofports=1
    • (If possible, prevents the port 59100 from being reserved)

Reason 2: Firewalls

Does temporarily disabling the firewall and antivirus solve the issue?

Reason 3: Port exhaustion

When the issue occurs, check whether AudioRelay or another program consumes a lot of ports.

  • Open the task manger
  • Go to details
  • Right click on a header
  • Click on Select columns
  • Enable Handles
  • Click on handles to find the program with the most handles

Is there a program that has a lot more handles than most?
As a baseline, no program has more than 10 000 handles on my PC.

image

image

Reason 4: Any ideas?