[Fixed]-Connect refused in response to Django runserver

12đź‘Ť

If you didn’t change something in the settings.py you should enter the service in

localhost:8000

Using the same machine where you are runing the server.

If you want to enter from another computer in the same network you should use

$ python manage.py runserver 0.0.0.0:8000

And change your “allowed hosts” to the ip of your computer or to *

👤Javier Campos

Leave a comment