我的服务器没有连接到端口 443。
如你看到的:
HTTPS:
root@lb03:/usr/local/bin# wget https://google.com/example.html
--2023-11-01 16:00:04-- https://google.com/example.html
Resolving google.com (google.com)... 172.217.16.238, 2a00:1450:4009:815::200e
Connecting to google.com (google.com)|172.217.16.238|:443...
HTTP:
root@lb03:/usr/local/bin# wget http://google.com/example.html
--2023-11-01 16:00:22-- http://google.com/example.html
Resolving google.com (google.com)... 172.217.16.238, 2a00:1450:4009:815::200e
Connecting to google.com (google.com)|172.217.16.238|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-11-01 16:00:22 ERROR 404: Not Found.
所有网站都会发生这种情况,我只是以谷歌为例。