This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities.
This article has been viewed 24,507 times.
Learn more...
Ngrok is a command-line software that allows developers to use their local server on the Internet. This wikiHow will teach you how to use ngrok in Windows.
Steps
Downloading
-
1Go to https://ngrok.com/download. You can use any web browser to download ngrok.
-
2Click Download for Windows. A .zip file will download.Advertisement
-
3Double-click the downloaded file. Many web browsers will display a notification when a file is downloading; if you don't see this, you can find the downloaded file in your "Downloads" folder.
-
4
Opening and Using
-
1Open ngrok. It's in your Start menu, most likely under "Recently added."
-
2Type "ngrok authtoken <your_auth_token>" and press ↵ Enter. Replace "your_auth_token" with your personal authtoken, and this will add your authtoken to your ngrok.yml file. To find your Authtoken, go to https://dashboard.ngrok.com/, sign in, click Authentication > Your Authtoken in the menu on the left side of the page. Your Authtoken is listed at the top of the page.
- If you don't have an account, you can sign up for a free account at https://dashboard.ngrok.com/signup. You'll need an account in order to use ngrok.
-
3Type "ngrok help" and press ↵ Enter. You'll see a wall of text explaining what ngrok can do with your commands.
- To run a local server to the Internet, let ngrok know which port to run. For example, type "ngrok http 80" if your server is running from port 80 (which is the default).[2]
About This Article
1. Go to https://ngrok.com/download.
2. Click Download for Windows.
3. Double-click the downloaded file.
4. Extract ngrok.exe.
5. Open ngrok.
6. Type "ngrok authtoken " and press Enter.
7. Type "ngrok help" and press Enter.