Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lynk4/exposing-localhost-to-the-internet

Expose your local network to the World using Ngrok.
https://github.com/lynk4/exposing-localhost-to-the-internet

localhost ngrok port portforwarding tunneling

Last synced: 3 days ago
JSON representation

Expose your local network to the World using Ngrok.

Awesome Lists containing this project

README

        

# Exposing Localhost to the Internet using Ngrok.

---

First of all we need to install [ngrok](https://ngrok.com/download)

You can expose anything like a simple website, tcp client server chat etc.................

I'll expose a simple html page.

---

We are gonna use python3 to start a server locally.

---

Screenshot 2024-08-10 at 6 22 29 PM

---

Here we can see our web page is running locally.

Screenshot 2024-08-10 at 6 23 58 PM

---

Keep the local server on.

open up another terminal on the same directory location.

Now we have to set authentication token for ngrok.

go to [here](https://dashboard.ngrok.com/signup) register an acoount. go to ```Your Authtoken``` and you get your auth token....

To set auth token.

in the terminal type

```
ngrok config add-authtoken your-auth-token
```

Now you are ready to use ngrok..

in the terminal type```ngrok http port no. in my case it's 9191```

```
ngrok http 9191
```
---
Screenshot 2024-08-10 at 6 31 48 PM

---
Visit the web interface address.

Screenshot 2024-08-10 at 6 34 39 PM

---

click on the link..then visit site.......

---

Screenshot 2024-08-10 at 6 34 39 PM

---

Screenshot 2024-08-10 at 6 34 49 PM

---

Now you can visit the Forwarding address to access the web page from anywhere in the world.............

---

Screenshot 2024-08-10 at 6 35 22 PM

---