[Answered ]-Django. "python manage.py runserver <my-ip>:<port>" getting "resource (<my-ip>) is online but isn't responding to connection attempts." on chrome

1👍

Can you try running:

python manage.py runserver 0:<port>

This will then allow you to go to 127.0.0.1:<port> or localhost:<port> in your browser.

Whichever one you choose between localhost and 127.0.0.1, you will need to add it inside your ALLOWED_HOSTS list.

0👍

Create a "Hello world" view and try to fetch that one

Leave a comment