Using ngrok with Django

Download: https://ngrok.com/download

After the download unzip ngrok.exe

Doubleclick it

Signup/Login : https://ngrok.com

In https://dashboard.ngrok.com/get-started/setup, copy ngrok config add-authtoken

ngrok config add-authtoken **************************************************

Execute it in ngrok prompt

ngrok http 80

Copy the link next to «Forwarding» (Right click and select mark if you can't select the text)

 


Django Project
 

ALLOWED_HOSTS = ['www.jaimedcsilva.com', 'localhost', '7b86-159-255-57-146.ngrok-free.app']


The local project is now accessible externaly through:
https://7b86-159-255-57-146.ngrok-free.app

 





06 July 2023 | Last Updated: 03 Dec. 2025 | jaimedcsilva

Related
  • Using ngrok with Django
  • Opening a Django project through a .exe file
  • Creating an online store with Django
  • CRUD
  • Creating a Basic Django Project Automatically
  • Filter Horizontal in a custom template
  • GeoIP tracking with IpInfo and Django
  • GeoIP tracking with MaxMind and Django
  • Django User Agents
  • Generating Temporary Download Links
  • Cython - Hiding the Code of a Django Project
  • Quick & Easy Django Deployment on PythonAnywhere
  • A Brief History of Django
  • Django & Paypal Webhooks
  • Generating QR Codes with Django

  • Buy Me a Coffee