Search code examples
linuxapachehttpngrok

Error related to ngrok


I have recently installed ngrok version 1.6 on my ubuntu. While running command ngrok http 80

I am getting a following error.

You may only specify one port to tunnel to on the command line, got 2: [http 80]

Please tell me the solution to this problem.


Solution

  • In ngrok 1.6 there was no extra param (http) to pass, the correct invocation for ngrok 1.6 would be ngrok 80. However, I'd suggest upgrading, ngrok 1.6 is fairly old (I'm running 2.1.3 for example).