Introduction:
Ngrok is very useful tool that allow users to make an application(running on the their local machine) accessible over the internet.This is very flexible and portable tool which can be configured with any system.
Step 1: First, download ngrok using the link below:
https://ngrok.com/download
Step 2: Unzip it. On Linux, you can unzip ngrok using the command :
$ unzip /path/to/ngrok.zip
Step 3: Start the application which you want to access on other computer. It can be a node application.For example:
nodejs app.js // Running on 3000 port.
Step 4: Run the ngrok:
/path/to/ngrok ngrok http 3000
Step 5: This will open a UI in your terminal with the public URL of your application and other status information about connections. Copy the URL and share it with anyone.
Step 6: Anyone can access your local web server unless you protect it with a password using -auth . This will authenticate all HTTP requests with the username and password you specify as an argument.
ngrok http -auth="username:password" 3000
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Pulkit Chadha
Pulkit is an expert web app developer and has good knowledge of JQuery, MongoDb, NodeJs, AngularJS, kaltura, Akamai. etc.