ngrok installation in ubuntu 12.04
Emily Wong
Having trouble to install ngrok in ubuntu, I went to and download it for ubuntu but it always give binary file which does not allow us to run in ubuntu, Can anyone suggest any other way install it.
23 Answers
To install the 32-bit version:
wget
unzip ngrok_2.0.19_linux_386.zipAfter that
./ngrok
and you will see this, tested on my 32-bit system.
NAME: ngrok - tunnel local ports to public URLs and inspect traffic
DESCRIPTION: ngrok exposes local networked services behinds NATs and firewalls to the public internet over a secure tunnel. Share local websites, build/test webhook consumers and self-host personal services. Detailed help for each command is available with 'ngrok help <command>'. Open for ngrok's web interface to inspect traffic.
EXAMPLES: ngrok http 80 # secure public URL for port 80 web server ngrok http -subdomain=baz 8080 # port 8080 available at baz.ngrok.io ngrok http foo.dev:80 # tunnel to host:port instead of localhost ngrok tcp 22 # tunnel arbitrary TCP traffic to port 22 ngrok tls -hostname=foo.com 443 # TLS traffic for foo.com to port 443 ngrok start foo bar baz # start tunnels from the configuration file
VERSION: 2.0.19
AUTHOR: inconshreveable - <>
COMMANDS: authtoken save authtoken to configuration file credits prints author and licensing information http start an HTTP tunnel start start tunnels by name from the configuration file tcp start a TCP tunnel test test ngrok service end-to-end tls start a TLS tunnel update update to the latest version version print the version string help Shows a list of commands or help for one command 7 It works on upper versions but I'm not sure about 12.04:
apt-get install ngrok-client 1 I had a similar issue -- running Ubuntu 16.04 LTS (64 bit). I followed the instructions @ NGROK, but couldn't get the commandngrok http 8080 to respond how I had read it was supposed to. After reading around and watching this YouTube video I found what I needed. NOTE: The video has no spoken audio, but it does clearly indicate where to install the unzipped executable file and this was the key.
After downloading I ran the following in the terminal from the same directory where the zipped file was located (In my case it was in my home directory):
unzip ngrok-stable-linux-amd64.zipThen I located the executable "ngrok" and ran the following:
sudo mv ngrok /usr/local/bin/After completing these steps I was able to run the ngrok http 8080 and get the expected results (below is the example from the ngrok docs that I am talking about)
Tunnel Status online
Version 2.0/2.0
Web Interface
Forwarding -> localhost:80
Forwarding -> localhost:80
Connnections ttl opn rt1 rt5 p50 p90 0 0 0.00 0.00 0.00 0.00 1