Day 12 - 100 days of devops

I have completed the task. Apache service is reachable from jump server. Able to curl and telnet. Still the task is not completed . Can you let me know whats wrong.

Hi @NelsonCool

Once you free up the port on the App Server, check if the httpd service is running. If not, restart it, and then you need to allow the port by adding an entry in IPTables as root:

  • iptables -I INPUT -p tcp -m tcp --dport <Port> -j ACCEPT
  • iptables-save

You should then be able to access the service on that particular port on the App Server.

I have allowed the port by running the command

sudo firewall-cmd --permanent --add-port=8087/tcp

and I was able to curl from the jump server. Is it not good?