操作系统版本:Ubuntu 20.04 x86_64 Plesk 版本:Plesk Obsidian 18.0.47.5
你好,
我在 Plesk 上运行 XenForo Forum,该 Plesk 运行在 Cloudflare 后面。我收到以下错误日志,它显示到端口 443 上的 localhost 的 curl 连接被拒绝。 https://prnt.sc/hN7k9PsJUCA-
所有到 localhost、127.0.0.1 和 0.0.0.0 的 curl 都被拒绝:
root@srv:~# curl -vv localhost:443
* Trying ::1:443...
* TCP_NODELAY set
* connect to ::1 port 443 failed: Connection refused
* Trying 127.0.0.1:443...
* TCP_NODELAY set
* connect to 127.0.0.1 port 443 failed: Connection refused
* Failed to connect to localhost port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to localhost port 443: Connection refused
root@srv:~# curl -vv 127.0.0.1:443
* Trying 127.0.0.1:443...
* TCP_NODELAY set
* connect to 127.0.0.1 port 443 failed: Connection refused
* Failed to connect to 127.0.0.1 port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 127.0.0.1 port 443: Connection refused
root@srv:~# curl -vv 0.0.0.0:443
* Trying 0.0.0.0:443...
* TCP_NODELAY set
* connect to 0.0.0.0 port 443 failed: Connection refused
* Failed to connect to 0.0.0.0 port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 0.0.0.0 port 443: Connection refused
UFW 防火墙已禁用:
root@srv:~# sudo ufw status
Status: inactive
netstat 显示端口 443 处于活动状态并且处于监听状态: https://prnt.sc/CqBFLdPYneBB
为了确保万无一失,我还关闭了 CF 防火墙上的“安全级别”。 https://prnt.sc/S_z-4jgTaNCU
无论我尝试过什么,不幸的是迄今为止都没有成功。
因此,我将非常感激任何能解决此问题的提示或解决方案。
问候。