Starting server error on Windows machine throws "ERR listen tcp :1935: bind: An attempt was made to access a socket in a way forbidden by its access permissions" #3909
Replies: 2 comments 1 reply
-
I got a similar error:
netstat output for
This port was previously opened by mediamtx, but after shutting down, it seems the port listener was not cleanly closed. I used the following command (as root) to manually kill the listening port and now I no longer have the error starting up as the port is now free: |
Beta Was this translation helpful? Give feedback.
-
Hello, the error you mentioned is probably caused by a recent automatic Windows update, solution is here: |
Beta Was this translation helpful? Give feedback.
-
Question
MediaMTX v1.9.3
Hello, I have been facing a sudden problem after updating my device drivers (although I can't confirm if this is related to device driver). Whenever I try to launch MediaMTX server, it throws this error
ERR listen tcp :1935: bind: An attempt was made to access a socket in a way forbidden by its access permissions
. I have checked if the port is being usednetstat -an | findstr 1935
and it gives empty response. I also checked firewall and there it's not blocked either. I am able to run Node JS server, Redis Server and MySQL server on this same machine without any issue.here is the log:
Sometimes this issue is fixed by changing my network to another network but that is not always guaranteed to work. Is there anyway I can fix this problem?
this is my config file:
and this is my PC:
Beta Was this translation helpful? Give feedback.
All reactions