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

前端 未结 7 782
小鲜肉
小鲜肉 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 12:52

    10061 isn't the port number, that's the error number. You want to open port 8000.

    See this answer for someone who was having the same problem because they were using the wrong port: No connection could be made because the target machine actively refused it

提交回复
热议问题