Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于业务问题,我已将本地服务器移至企业服务器进行一些测试,但我不知道如何通过本地启动/停止服务器,我猜它是通过 python runserver 启动的......但我不知道如何用另一台机器上分配的文件来做。
问候!
您应该连接到远程机器,激活 virtualenv , python manage.py runserver serverip:port 。就这样。还要检查您的端口是否被防火墙关闭。