Day 12 Apache Port 5000 Task Failing Even After Service Running

Hi Team,

I am working on Day 12 Apache task where Apache should be reachable on port 5000 on stapp03.

I verified:

  • httpd service is active
  • Apache is listening on *:5000
  • curl localhost:5000 works on stapp03
  • telnet stapp03 5000 works from jump host
  • SELinux is disabled
  • firewall-cmd and iptables commands are unavailable

But task validation is still failing.

Commands output:

sudo ss -tulnp | grep 5000
tcp LISTEN 0 511 *:5000 : users:((“httpd”…))

Could someone guide what configuration might still be missing?

The port and the affected server is randomized, but for the port specified in the problem description, you need to do three things:

  • Find out which server is not responding on that port out of stapp01, stapp02 and stapp03.
  • Go to that server and make sure there is nothing else grabbing that port. You can do that with netstat or lsof.
  • Make sure that iptables is configured to allow access on that port.

Do that, and you will pass.