[Python] How to access a Django site from another device on a local network

Discussão em 'Python' iniciado por Stack, Junho 15, 2025.

  1. Stack

    Stack Membro Participativo

    I'm running a Django site on my computer and I want to access it from another device on the same Wi-Fi network (for example, from a phone or another laptop).

    I tried running python manage.py runserver, but I can only access the site from the same computer using localhost. I don’t know how to make the site accessible from other devices.

    How can I properly configure Django and my computer so that the site is accessible from other devices?

    To be honest, when trying to find a solution, I found a couple of options where I needed to merge the project into different services, but that doesn't work for me.

    Thanks in advance!

    Continue reading...

Compartilhe esta Página