Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lynk4/exposing-localhost-to-the-internet
- Owner: Lynk4
- Created: 2024-08-10T12:36:36.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T13:13:02.000Z (5 months ago)
- Last Synced: 2024-11-08T19:08:35.300Z (about 2 months ago)
- Topics: localhost, ngrok, port, portforwarding, tunneling
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
---
---
Here we can see our web page is running locally.
---
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
```
------
Visit the web interface address.---
click on the link..then visit site.......
---
---
---
Now you can visit the Forwarding address to access the web page from anywhere in the world.............
---
---