No connection could be made because the target machine actively refused it (Django)

前端 未结 7 797
小鲜肉
小鲜肉 2021-02-07 12:14

I have followed the Django Book up until chapter seven, and I am currently messing around with forms, GET, POST and all that goodness. At one point, the guide made me figure out

7条回答
  •  深忆病人
    2021-02-07 13:05

    The code tries to connect to http://127.0.0.1:8000/contact/ - the port 8000 is not reachable (firewall) or there is no server running.

提交回复
热议问题