Making Django App Publicly Accessible With Ngrok

What is ngrok ?

ngrok is a cross-platform application that enables developers to expose a local development server to the Internet with minimal effort. The software makes your locally-hosted web server appear to be hosted on a subdomain of, meaning that no public IP or domain name on the local machine is needed.

Installation of ngrok

If you are using windows or mac os you can refer the article below:

Running our web app on a ngrok server

To start ngrok we simply type “ngrok http [port]”, in our case we use port 8000, because it’s the default Django development server port.

ngrok http 8000
python runserver



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store