Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ngrok killing a tunnel from windows 7 command line

Tags:

windows

ngrok

I'm trying to use ngrok to foward my app, currently hosted on localhost:3602, to my development partner.

I've done this many times in the past successfully, simply by typing in

ngrok http 3602

I get back a url that he can conntect to. But now when I type that in I get the following error message:

Tunnel session failed. Your account is limited to 1 simultaneous ngrok client session. Active ngrok client sessions in region 'us': - f21bd0dbe67928069054c733a5e11f88 (54.80.69.18) ERR_NGROK_108

Obviously I must have an existing tunnel session running somewhere.

My problem is I have no idea where to find that existing tunnel session and how to terminate it. It does not exist as either a running application, process or service in the task manager, and I can find no syntax in the documentation for how to terminate a tunnel session. I've tried rebooting my machine to no effect, which tells me this is probably not a local problem, but rather something running on the ngrok site linked to my account, yet nothing I can find in my account settings indicates anything helpful.

Can anyone provide the necessary command to clear up this problem. Thanks.

like image 214
user3818545 Avatar asked Aug 15 '18 19:08

user3818545


People also ask

How do you terminate a tunnel in Ngrok?

If you start it from the console you just have to hit Ctrl+C to stop it. Otherwise yo have to see find the process in the process list and kill it. killall ngrok from a script or the command line will kill all running ngrok tunnels that are running.

How do I know if Ngrok is running?

Check if ngrok is already running: Hit http://127.0.0.1:4040/status. If the above visual is not showing, ngrok is not running at all. If the above visual is not showing, ngrok is not running on PORT 4000.


1 Answers

for window version:

tskill /A ngrok

enter image description here

like image 122
Trí Chồn Avatar answered Nov 05 '22 17:11

Trí Chồn