Curl’s solution: (7) Failed to connect to port 443


1. First request an IP address corresponding to the domain name

Go to the URL for this request:

1299b0fb3f9268bd2e77603b918d25082. Change the hosts file

Linux is usually /etc/host

vi /etc/hosts

Add a line to the bottom of the hosts file

Just save it.

Leave a Comment