This article was co-authored by How.com.vn staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for How.com.vn. 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 35,100 times.
Learn more...
Ngrok is a command-line software that allows developers to use their local server on the Internet. This How.com.vn will teach you how to use ngrok in Windows.
Steps
- Go to https://ngrok.com/download. You can use any web browser to download ngrok.
- Click Download for Windows. A .zip file will download.Advertisement
- Double-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.
- Extract ngrok.exe. When you double-click to open the .zip, you'll see the files within. Click Extract all (if you don't see this, click Compressed Folder Tools) then choose a location for the file to move to and click Extract.[1]
- Open ngrok. It's in your Start menu, most likely under "Recently added."
- Type "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.
- Type "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]
Expert Q&A
Tips
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.
Is this article up to date?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.