Working locally has huge advantages as compared to working on a remote server. You won't have to go through the cycle of fetching files, editing them, and deploying. But what if you want to share your localhost with people on a different network, without deploying it? That's where ngrok comes in. ngrok is a small command line utility which lets people on different network to access your localhost. It does this by creating a tunnel from one of its subdomain (xyz.ngrok.com) to your localhost. To get started, head on to the site and download it. You'll be getting a executable shell script which is the utility itself. (That's on OS X/Linux, I'm not really sure about Windows.) You'll probably want to symlink it to Now execute the script. The most basic usage is to just do There are quite a few options for the script, Creating a free account unlocks lot of cool features, like choosing a default subdomain, username/password for authentication and so on. You can also choose your own subdomain (xyz.devilsworkshop.org), instead of ngrok's. ngrok also lets you debug HTTP requests and responses, and inspect traffic. You can access the interface at Link: ngrok -- This Post Share your localhost with the world using ngrok is Published on Devils Workshop . | |||
| |||
| |||
|
Monday, 2 September 2013
Share your localhost with the world using ngrok
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment