First, I checked the status of Apache, and it showed that the service was running. So I thought the issue might be related to the firewall. However, when I ran the command, it showed:
Unit firewalld.service could not be found
So I concluded that firewalld was not installed on the server.
Then I checked whether iptables was blocking the connection, but the output was:
sudo: iptables: command not found
After that, I tested the connection from both stapp03 and the jump host by sending a curl request to the Apache server, and it worked successfully.
Even after verifying all this, I still cannot complete the labβ¦