I have this frustrating Problem that my programs cannot connect to their designated Ports. I'm using a windows 10 machine and this is how my problem goes: I open a software which needs port 5053 or another which needs 50504 and they give me error that this ports are in use: 5053 Error :
Port 5053 in use, waiting...
50504 Error :
An attempt was made to access a socket in a way forbidden by its access permissions
and I can't figure out what is causing this port blockage.
I've used netstat and TCPView and there is no software or process or service that is occupying these ports, and the programs still don't open and their windows services don't start.
- in the log of my programs it gives me the above errors (more importantly the 5053 one).
the only solution that I Could find is to run net stop hns && net start hns
and after several trial and error and reloading the services exactly after running this command, they will work.
I'm not a Networking Expert, I don't know much about network fundamentals, and I got my self this far by just google searches and Scrolling forums, but I Can't find the root of this problem and fix it.
I Also Use Firewall (Kaspersky Internet Security) but I've been using it with no such problem for years
If there's anything I need to check and report or any possible cause please inform me.
netstat -a -b
? See also this post for ideas.