在编辑完uwsgi.ini文件后,运行uwsgi -i uwsgi.ini
spawned uWSGI master process (pid: 3619)
spawned uWSGI worker 1 (pid: 3622, cores: 1)
spawned uWSGI worker 2 (pid: 3623, cores: 1)
spawned uWSGI worker 3 (pid: 3624, cores: 1)
spawned uWSGI worker 4 (pid: 3625, cores: 1)
spawned uWSGI worker 5 (pid: 3626, cores: 1)
spawned uWSGI worker 6 (pid: 3627, cores: 1)
spawned uWSGI worker 7 (pid: 3628, cores: 1)
spawned uWSGI worker 8 (pid: 3629, cores: 1)
spawned uWSGI worker 9 (pid: 3630, cores: 1)
spawned uWSGI worker 10 (pid: 3631, cores: 1)
端口成功监听,但是无法通过浏览器访问网站
---------------------------------------------------
无法访问此网站
192.168.52.142 拒绝了我们的连接请求。
请试试以下办法:
检查网络连接
检查代理服务器和防火墙
ERR_CONNECTION_REFUSED
---------------------------------------------------
(通过命令 uwsgi --http :8000 --module MxOnline.wsgi拉起的网站可以访问)
通过命令:sudo /usr/sbin/nginx 启动Nginx依然不能访问网站