访问HTTP可以,HTTPS无法打开
使用
curl -I https://www.***.com
返回
curl: (35) Encountered end of file
[root@instance-3 ~]
* About to connect() to www.***.com port 443 (
* Trying 104.199.*.*...
* Connected to www.***.com (104.199.*.*) port 443 (
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5938 (PR_END_OF_FILE_ERROR)
* Encountered end of file
* Closing connection 0
curl: (35) Encountered end of file
原因:服务器443端口未对外开放!
访问HTTP可以,HTTPS无法打开使用curl -I https://www.***.com 返回 curl: (35) Encountered end of file[root@instance-3 ~]# curl -I https://www.***.com -vvv* About to connect() to www.***.com port 443 (#0)* Trying 1
在 Linux 服务器上(C
en
tos 7)安装 docker-compose 时安装失败了,执行的安装命令为:
curl
-L "
https
://github.com/docker/compose/releases/download/1.28.6/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
报错如下:
定位发现是服务器的 443 端口未
打开
,执行以下命令:
# 需要开启防火墙 system
$
curl
-sS
https
://getcomposer.org/installer | php
curl
: (
35
)
En
count
e
red
end
of
file
原因:服务器443端口未对外开放,需要在防火墙规则中将443端口
打开
安装comp...
PHP linux服务器报错 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/的解决方法!
61758