The server at DigitalOcean with Ubuntu 24.04 (LTS) x64
If to input http and https into command line
# curl -v http://likarnet.com
* Host likarnet.com:80 was resolved.
* IPv6: (none)
* IPv4: 64.225.77.248
* Trying 64.225.77.248:80...
* Connected to likarnet.com (64.225.77.248) port 80
> GET / HTTP/1.1
> Host: likarnet.com
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.24.0 (Ubuntu)
< Date: Tue, 25 Jun 2024 14:46:35 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 6308
< Connection: keep-alive
< X-Frame-Options: DENY
< Vary: Cookie
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Cross-Origin-Opener-Policy: same-origin
<
<!doctype html> here is expected html-code
# curl -v https://likarnet.com
* Host likarnet.com:443 was resolved.
* IPv6: (none)
* IPv4: 64.225.77.248
* Trying 64.225.77.248:443...
* connect to 64.225.77.248 port 443 from 64.225.77.248 port 39420 failed: Connection refused
* Failed to connect to likarnet.com port 443 after 2 ms: Couldn't connect to server
* Closing connection
curl: (7) Failed to connect to likarnet.com port 443 after 2 ms: Couldn't connect to server
# curl -v 64.225.77.248
* Trying 64.225.77.248:80...
* Connected to 64.225.77.248 (64.225.77.248) port 80
> GET / HTTP/1.1
> Host: 64.225.77.248
> User-Agent: curl/8.5.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.24.0 (Ubuntu)
< Date: Tue, 25 Jun 2024 14:49:33 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 6308
< Connection: keep-alive
< X-Frame-Options: DENY
< Vary: Cookie
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Cross-Origin-Opener-Policy: same-origin
<
<!doctype html> and here - expected html-code