Linux Network Services - Apache not running on app1 port 8088

Hi Team,

HELP!!!

Please check my attached screenshots and guide me to the correct solution.

  1. On stapp01 httpd(Apache) was not running port 8088.
  2. On the same port 8080 sendmail was running, so i killed it. (PID 209)
  3. Restarted the Apache.
  4. Also verified it was reachable from jump host server.
  5. But still failed the task.

What did i do wrong?

PS:I am unable to add multiple screenshots. only one is allowed as i am new user.

@AshokNGowda

After starting apache service you only tested from stapp01 not from jump host. There were some remaining settings need to be done to make it accessible from jump host:

ap

Thank you Inderpreet

Hi Team

My task also got marked failed as I used the firewalld to allow the httpd port 3004 and was able to telnet the same from Jump host and was able to run the httpd service after stopping the sendmail.
Please look into it, as task was completed instead of using ip tables I used firewalld.

@rohit.tiwari

I believe there was already iptables firewall install, did you install firewalld there ?

Yes, I installed the firewalld.

@rohit.tiwari You must had to add iptables rule instead rather than installing firewalld, its wasn’t asked in the question.

2 Likes

same issue with me also. kindly help
curl is working but it shows iptable firewall service stopped. @Inderpreet @rohit.tiwari @AshokNGowda

Make sure once Apache is up its accessible from jump host as well using curl.

Hello,

I faced the same obstacles as you guys are mentioning and in case you are still wondering why your test was/is not working is due to:

The last iptables rule in the INPUT chain from this activity, the REJECT one is just a general rule that triggers when no previous rule has triggered. Basically, it’s a " by default, reject anything that doesn’t match a previous rule ". That is a standard and a good practice when implementing firewalls.

I leave for you to find out how to solve it :slight_smile:

And don’t install other services, check for those already running, and work with these.

Good luck!