If it is for short term, you can use localtunnel
(same like ngrok
).
Just follow these steps (require: NodeJS) :
Install
localtunnel
by running$ npm install -g localtunnel
npm install -g localtunnel
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 !!!