My domain is: safeplatebackend.xyz
(ipv4: 45.77.242.5)
I ran this command:
sudo certbot --apache -d safeplatebackend.xyz -d www.safeplatebackend.xyz -m tario01pd2024@gmail.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for safeplatebackend.xyz and www.safeplatebackend.xyz
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: safeplatebackend.xyz
Type: connection
Detail: 45.77.242.5: Fetching http://safeplatebackend.xyz/.well-known/acme-challenge/NulqeWPKq6NLn6WWmlUw3L9bjarL2et7S3iU-wYYfLc: Timeout during connect (likely firewall problem)
Domain: www.safeplatebackend.xyz
Type: connection
Detail: 45.77.242.5: Fetching http://www.safeplatebackend.xyz/.well-known/acme-challenge/rSKf6rsE53gwrO-9rR9pxSXQgmy2J7Y3Gmwkl-NVVWU: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
root@safeplate:~# sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enable>
Active: active (running) since Sat 2024-05-18 04:48:01 UTC; 2s ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 62831 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 62836 (apache2)
Tasks: 55 (limit: 9438)
Memory: 6.6M (peak: 6.9M)
CPU: 31ms
CGroup: /system.slice/apache2.service
├─62836 /usr/sbin/apache2 -k start
├─62838 /usr/sbin/apache2 -k start
└─62839 /usr/sbin/apache2 -k start
May 18 04:48:01 safeplate systemd[1]: Starting apache2.service - The Apache HTTP Serv>
May 18 04:48:01 safeplate systemd[1]: Started apache2.service - The Apache HTTP Serve
The operating system my web server runs on is (include version):
OS:
Ubuntu 24.04 LTS x64
My hosting provider, if applicable, is:
Vultr
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no? im just using vultr + ssh remote host connect
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 2.10.0
i tried this -> Port Checker - Check Open Ports Online -> and port 3000 works but 80 is timeout (i dont know why, could this be the reason its not working)?
this is my app.js
const express = require('express');
const fs = require('fs');
const https = require('https');
const app = express();
app.use(express.json());
app.get('/', (req, res) => {
res.send('Hello Wor3ld!');
});
app.listen(3000, '0.0.0.0', () => console.log(`Server running on port 3000`));