Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Of course, because django is running in a virtual machine and it has its own loopback interface there. And you're trying to connect to your machine's loopback interface.
Enter ip a and find out what IP the virtual machine has.
Run django with the command python manage.py runserver 0.0.0.0:8000
Connect using the IP of the virtual machine and port 8000
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question