Mr.X
Mr.X

Reputation: 31285

ERROR: Unrecognized command: service

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

Posted the issue to Github too

Upvotes: 1

Views: 5954

Answers (1)

Chris
Chris

Reputation: 31256

Read the author's comment on this error and it seems like this functionality is related to ngrok link rather than the baseline ngrok. And, scrolling to the top of the linked site (here), it says "Docs for ngrok link."

Upvotes: 1

Related Questions