Exposing Local Web Server Publicly To Anyone, Anywhere Using ngrok

text

ngrock

Exposing Local Web Server Publicly To Anyone, Anywhere Using ngrok

In order to provide demo of the web application or website designed for the client, one has to host it on server or we can use Ngrok which will use your local machine as server.

 

Ngrok runs a small client process on your machine which creates a private connection tunnel to the cloud service. Your localhost development server is mapped to an ngrok.io sub-domain, which a remote user can then access from anywhere.

 

The basic ngrok service is free and permits up to four tunnels and 40 connections per minute. Commercial options start from $5 per month, providing further connections and custom domains.

 

ngrok Step-by-Step Guide: Easily Share Your Local Server

 

  1. Open ngrok.com in browser and click signup to register.
  2. After Register you’ll be directed to the ngrok dashboard where you can download the client for your operating system
  3. Download and extract the file, following instructions for your OS. It’s then necessary to add your authentication token by running the command shown in the “Connect Your Account” section a little further down the page
  4. Now open your system terminal and go to ngrok downloaded folder
  5. Use command “./ngrok authtoken <token>” to save ngrok token in your system in system terminal
  6. Let’s say we are running Apache2 server locally. So, we can use ./ngrok http 8080
  7. We need to copy the http or https link of your application and paste in browser. Now application is publicly accessible. The terminal shows a log of requests while ngrok is active.

Defining customer centric solutions for greater business value

Boost your business with our innovative thinking

Sales Department:

  India (HQ)

Address: 422B, Tower B, Ithum, Sector-62, Noida, 201301

Phone:   +91 70119 25215

Email:    surajs@dtechnoland.com

  USA

Address: 2532 Santa Clara Ave, Unit #501, Alameda, CA 94501

Phone: +1 (707) 516-6991

Email:    surajs@dtechnoland.com

  UK

Address: 59, St. Martin’s Lane, Unit #147, London, WC2N 4JS

Phone:  +44 20 3667 9345

Email:    surajs@dtechnoland.com

dreamer logo white

Dreamer Technoland is focused on acting as a “True voice” for our clients by delivering innovative solutions that are designed to meet the business needs.

Follow us on


    You have a vision.
    We have a way to get you there.

    700+

    Projects

    Completed

    8+

    Years of

    Experience

    85%

    Long Term

    Clients





    X
    DOWNLOAD BROCHURE