标签: python django ubuntu
我有一台使用Ubuntu的服务器。我已将Django项目上传到服务器。并运行命令: python manage.py runserver 0.0.0.0:80
python manage.py runserver 0.0.0.0:80
但是当我尝试在浏览器中访问网站时,出现The requested URL could not be retrieved错误。
The requested URL could not be retrieved
这可能是什么原因?
答案 0 :(得分:0)
python manage.py runserver {YOUR_PUBLIC_IP}:80
还需要检查防火墙设置,确保已打开80端口