Comments on: How to Install WordPress with LEMP Stack on CentOS 8 https://www.rosehosting.com/blog/how-to-install-wordpress-with-lemp-stack-on-centos-8/ Premium Linux Tutorials Since 2001 Fri, 03 Jun 2022 08:32:52 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: Khadun Tarabien https://www.rosehosting.com/blog/how-to-install-wordpress-with-lemp-stack-on-centos-8/#comment-48805 Wed, 26 Jan 2022 02:38:56 +0000 https://www.rosehosting.com/blog/?p=33864#comment-48805 You have to open ports 80 and 443:

# firewall-cmd –zone=public –add-service=http
# firewall-cmd –zone=public –add-service=https
Note, the above firewald commands will open HTTP and HTTPS port only temporarily.

Open port 80 and port 443 port permanently. Execute the below commands to open both ports permanently, hence, make the settings persistent after reboot:
# firewall-cmd –zone=public –permanent –add-service=http
# firewall-cmd –zone=public –permanent –add-service=https
# firewall-cmd –reload

]]>