ngrok
ngrok copied to clipboard
Web Failed: Listen TCP 127.0.0.1:4040
When attempting to start a new ngrok tunnel, I am getting the following error...
web failed: listen tcp 127.0.0.1:4040: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
I have no clue what's happening, I was using it fine on Friday and the first thing today (Monday) it is not working. The ONLY thing I did over the weekend was shut my computer down.
I had this happen today, rebooted and it worked ok.
I had this happen today, rebooted and it worked ok.
Coming back to this for to post an answer, and as @ichivers stated, a full reboot fixed the problem for me as well.
It probably means there are multiple sessions of ngrok running. On Windows open task manager, go to processes and find ngrok.exe and end task.
net stop hns && net start hns
I had this happen today, rebooted and it worked ok.
Coming back to this for to post an answer, and as @ichivers stated, a full reboot fixed the problem for me as well.
Reboot what?
I rebooted my PC and it was fixed for me, in my case it was port 4049.
Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.
This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.