I installed Rocky Linux and then added Wazuh. It’s running fine but I wanted to add Letsencrypt but I am getting an error that port 80 is not open. I opened port 80 and other necessary ports for Wazuh but 80 is not working as shown below.
Note on netstat: there is a newer tool ss
Alas, ss -tulnp4 | grep :80 will give you the same info – no process.
The question is, why no process?
Who is supposed to listen on tcp/80?
Was it not started?
If it is running, then why does it not listen?
Does it write any logs?
One thing that can prevent a process from listening on port is SELinux.
I can only repeat:
What is the process that should listen?
Is it running?
Does it listen on some port?
Can it write debug log to tell why it does not listen on tcp/80?
the first line you did before, the second one would make it active immediately without needing to use reload.
Using permanent it just goes to the configuration. A similar thing is if you add a rule without using --permanent and then restart firewalld you will lose the rule as it wasn’t saved to the config.
And using netstat or ss commands you can see if port 80 is actually listening.
Thanks all for the responses. Since I was running against time I had to just destroy the the Virtual machine. It’s running on Proxmox, and reinstall it. All working fine now. I have mananged to deploy agents.