Skip to main content
improved formatting; minor editorial fixes
Source Link
Kamil Maciorowski
  • 75.7k
  • 22
  • 152
  • 229

If it is for short term, you can use localtunnel (same like ngrok).

Just follow these steps (require: NodeJS)  :

  1. Install localtunnel by running

    $ npm install -g localtunnel

    npm install -g localtunnel
    
  2. Assumes, your app is running on http://localhost:8080/, then run

    $ lt --port 8080 It will create a public url domain with random name like this.

    lt --port 8080
    

NOTEIt will create a public url domain with a random name like this.

Note: You can create custom url as well (eg: $ lt --port 4200 -s "sangeeth")

-s, -s means subdomainsubdomain).

Tada !Ta-da!, it's It's done !!!

If it is for short term, you can use localtunnel (same like ngrok)

Just follow these steps (require: NodeJS)  :

  1. Install localtunnel by running

    $ npm install -g localtunnel

  2. Assumes, your app is running on http://localhost:8080/, then run

    $ lt --port 8080 It will create a public url domain with random name like this.

NOTE: You can create custom url as well (eg: $ lt --port 4200 -s "sangeeth")

-s means subdomain

Tada !!, it's done !!!

If it is for short term, you can use localtunnel (same like ngrok).

Just follow these steps (require: NodeJS):

  1. Install localtunnel by running

    npm install -g localtunnel
    
  2. Assumes, your app is running on http://localhost:8080/, then run

    lt --port 8080
    

It will create a public url domain with a random name like this.

Note: You can create custom url as well (eg: lt --port 4200 -s "sangeeth", -s means subdomain).

Ta-da! It's done!

Source Link
Sangeeth
  • 151
  • 1
  • 4

If it is for short term, you can use localtunnel (same like ngrok)

Just follow these steps (require: NodeJS) :

  1. Install localtunnel by running

    $ npm install -g localtunnel

  2. Assumes, your app is running on http://localhost:8080/, then run

    $ lt --port 8080 It will create a public url domain with random name like this.

NOTE: You can create custom url as well (eg: $ lt --port 4200 -s "sangeeth")

-s means subdomain

Tada !!, it's done !!!