How can I make a local host accessible on the Internet? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I make a local host accessible on the Internet?

I have used npm live server command on the cmd, and the site is hosting on a local host port. Now, is there a way to make it accesible to any device on the Internet?

18th Jun 2018, 6:26 AM
Avi Takiyar
Avi Takiyar - avatar
2 Answers
+ 2
You should try ngrok.com a very easy to use and simple service. You load a client side app. They give you a public URL that is hosted by them but relays direct to localhost. Ideal for demo’s and development testing.
18th Jun 2018, 9:17 AM
David Byrne
+ 2
David Byrne Thanks! But what if I want my own domain? Aren't there any free site/software for that?
18th Jun 2018, 2:18 PM
Avi Takiyar
Avi Takiyar - avatar