ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

ERROR: Unrecognized command: service

Open meetkabeershah opened this issue 8 years ago • 17 comments

We've got ngrok.exe setup inside:

C:\Program Files\ngrok\ngrok.exe

Which we wanted to run as a service:

Hence, as suggested we've created a ngrok.yml file at:

C:\Program Files\ngrok\ngrok.yml

The content of which is the following:

tunnels:
  tunnelOne:
    proto: http
    addr: 3000

The path variable is set to C:\Program Files\ngrok.

Whenever we run the following command:

ngrok service install -config C:\Program Files\ngrok\ngrok.yml

It throws the following error:

ERROR: Unrecognized command: service

Original post

meetkabeershah avatar Jul 20 '17 19:07 meetkabeershah

I have the same error.

AliakseiMat avatar May 24 '18 21:05 AliakseiMat

Same error here too.

Yashuaaa avatar Jun 12 '18 16:06 Yashuaaa

I am getting this error on Linux too (Linux distro on Raspberry Pi)

urbansciences avatar Jun 23 '18 08:06 urbansciences

Same thing here (Ubuntu)

XCarrel avatar Jun 26 '18 14:06 XCarrel

Same error on Ubuntu

crorodriguezro avatar Oct 02 '18 13:10 crorodriguezro

this is for Ngrok-link a different product from baseline Ngrok. details here -> https://ngrok.com/product/ngrok-link

andrewbhennessy avatar Jul 25 '19 06:07 andrewbhennessy

facing the same issue with windows and typescript...

ERROR: Unrecognized command: 3000

MrFarhan avatar Feb 01 '21 18:02 MrFarhan

i tried install ngrok using snap then this issue happened.

try to install ngrok using apt here: https://ngrok.com/docs/getting-started

this worked for me, i am using ubuntu 20.04

habibun avatar Apr 20 '22 13:04 habibun

for windows, probably just needa type ngrok authtoken (your token here) into the terminal and it should work

wolffsteinn avatar May 10 '22 12:05 wolffsteinn

for windows, probably just needa type ngrok authtoken (your token here) into the terminal and it should work

This was the fix, ty

PyNoki avatar May 20 '22 19:05 PyNoki

Seems to be working on mac as well 👍

for windows, probably just needa type ngrok authtoken (your token here) into the terminal and it should work

tornvallalexander avatar Sep 14 '22 09:09 tornvallalexander

Seems to be working on mac as well 👍

On macOS, you should download the latest ngrok file, and then run

ngrok config add-authtoken <your token>

It will work.

huabin avatar Sep 25 '22 13:09 huabin

image window worked

codeyourwayup avatar Oct 23 '22 14:10 codeyourwayup

ngrok authtoken your token

it will work

arsidnaresh avatar Oct 29 '22 04:10 arsidnaresh

A mí me pone este error, alguien que me ayude pls Uploading 16690885445935655334534024108086.jpg…

ixassj avatar Nov 22 '22 03:11 ixassj

On mac there two ways "ngrok authtoken" or "ngrok.exe config" both have worked for me

mfreed420 avatar Dec 08 '22 02:12 mfreed420

ngrok authtoken your token

it will work

That worked for me, thanks!

viatanas avatar Jan 03 '23 12:01 viatanas

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.

russorat avatar May 09 '24 18:05 russorat