• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question How to open ports 80 and 443 on both IPv4 and IPv6

technique-web

New Pleskian
Hi,

I'm having troubles while updating Let's Encrypt SSL, I found this :

The solution don't work, but I found this comment :
Make sure that ports 80 and 443 are opened on both IPv4 and IPv6
Can't find how to do this in plesk ! I have a SSH access but I don't know what iptable rules I need to write :(
 
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
sudo netfilter-persistent save
sudo netfilter-persistent reload

or install plesk firewall extension
also check your server provider's firewall for blocked ports
 
Thanks :)

How ca I check if the rules are ok ?

Bash:
nmap -p 80 mysite.tld
PORT   STATE SERVICE
80/tcp open  http

nmap -6 -Pn -p80 mysite.tld
PORT   STATE    SERVICE
80/tcp filtered http

The state 'filtered' is the same before and after adding the two rules !
 
Are your v6 adresses listed in Tools&Settings -> IP Addresses? If not, klick reread. If that doesn't help, Add.
 
Back
Top