Author: ngxson
Briefly, inlets let you expose your localhost to the Internet, through any NAT or firewall.
It can be an alternative solution to ngrok or localtunnel. Since it can be deployed to heroku, you can have your own fixed address, which is better for testing a webhook server.
The original project can be found here: https://github.com/inlets/inlets
Tutorial on LinkedIn: Set your own "ngrok alternative" on Heroku
Just click this button:
P/s: for the password, you can choose a simple one like this1sMypassw0rd
On your local machine:
For Windows® users:
- Open and edit
client/run-windows.bat - Change
TOKEN,REMOTE,LOCALPORTto match your settings - Double click on
run-windows.bat
For Linux users:
- Open and edit
client/run-linux.sh - Change
TOKEN,REMOTE,LOCALPORTto match your settings cd inlets-heroku/client && chmod a+x run-linux.sh && ./run-linux.sh
For MacOS users:
- Install inlets using
brew install inlets - Open and edit
client/run-mac.sh - Change
TOKEN,REMOTE,UPSTREAMto match your settings cd inlets-heroku/client && chmod a+x run-mac.sh && ./run-mac.sh
For Windows: If it does not work, delete inlets.exe in bin folder, then try again.