Installing on Ubuntu 18.04 curl fails

1. Caddy version (caddy version):

Latest version

2. How I run Caddy:

I’m installing Caddy server on Ubuntu 18.04. I’m new to the Caddy thus using documentation from different sources to install Caddy on the ubuntu server. All documentation mentions following command for the installation

curl | bash -s personal hook.service

But the above command gives curl error

curl: (7) Failed to connect to port 443: Connection timed out

It seems the domain is not reachable.

a. System environment:

System: Ubuntu 18.04 (systemd 237)
Cloud: AWS EC2

b. Command:

curl | bash -s personal hook.service

3. The problem I’m having:

Unable to install Caddy server on Ubuntu 18.04 EC2 instance

4. Error messages and/or full log output:

curl: (7) Failed to connect to port 443: Connection timed out

5. What I already tried:

6. Links to relevant resources:

Hi, Anuj! Welcome around.

I recommend against using random blogs or tutorials as guidance on how to install the software, especially that the software’s own documentation provide more direct steps on how to install it. If you check the Download page on the documentation part of the website, you will find clear steps of all the different ways to install (download) Caddy. The link I included takes you directly to the steps of installing Caddy on Ubuntu. That should get you started.


This topic was automatically closed after 30 days. New replies are no longer allowed.