manage.py runserver

前端 未结 8 1383
情话喂你
情话喂你 2020-11-28 22:36

I am running python manage.py runserver from a machine A when I am trying to check in machine B The url I typed is http://A:8000/ I am getting an error like The system retu

8条回答
  •  庸人自扰
    2020-11-28 22:46

    For people who are using CentOS7, In order to allow access to port 8000, you need to modify firewall rules in a new SSH connection:

    sudo firewall-cmd --zone=public --permanent --add-port=8000/tcp
    sudo firewall-cmd --reload
    

提交回复
热议问题