4

I have one noob question. I want to share with my friends my web-app project. I don't have my own server, so is there a way to share localhost, that someone on another computer can take a look on my local-site?

halfer
  • 19,824
  • 17
  • 99
  • 186
Kamczatka
  • 151
  • 1
  • 2
  • 15
  • You have many ways to do this, you can use port forwarding with Dynamic DNS or use proxy, VPN, or tunneling. Each technique has its own pros and cons - read this article where the author compares these methods https://tunnelin.com/expose-local-web-server – simon Jun 04 '20 at 21:56
  • You can use `ngrok`, which is a platform that will forward your local ports on the internet. You can find more information on https://ngrok.com/ – jptl431 Nov 05 '20 at 14:03
  • https://pinggy.io is one of the easiest way to share localhost. However there are other methods depending on your exact requirements. – Bishakh Ghosh Jun 05 '23 at 06:44

1 Answers1

3

You should be able to achieve this via port-forwarding. This question should help.

Access localhost from the internet

You will probably need to replace port 80 mentioned here with whatever port your localhost server is serving on. I am assuming you are attempting to do this using something like Visual Studio or Angular-CLI to serve this up?

SDSMTKyzer
  • 112
  • 10