DEV Community

How to create Public URL in Django Project to access in Other Machines

AkshayKumarC132 on July 25, 2022

I'm working Django Project. How to create a Public IP permanently for Localhost(127.0.0.1:8000) IP in Django Project. After Creating Public URL, ...
Collapse
 
dilutewater profile image
Rachit Khurana

Because that will only host it on your localhost (your computer only).

If you want to allow other people to access it, ythen you need to enable port forwarding in your network and router. But that has many security risks.

Or if you want a simpler route , you can try tunneling services like ngrok, cloudflared tunnel, pagekite tunnel, localexpose, loophole. Once you start these services, they will give you a temporary url that anyone can access.

If you need more help, feel free to contact me.