Hi @yogendra, I’m glad to hear that you got everything working!
As a side note, installation of firewalld should have been unnecessary (though it’s a great learning experience) unless the task description specifically stated to install firewalld. The reason being is that all ports should be open by default.
Off the top of my head, the only exception to that would be if the task description does not mention installing a firewall (firewalld or iptables) but you encounter remote connectivity issues and discover there’s already a misconfigured running firewall service in place. In that case, I’d assume the expectation would be to correct the firewall configuration as opposed to disabling it…
I am still facing issue & not able to resolve the error “httpd[331]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:3003” when trying to restart the httpd service. Any help/pointers will be appreciated.
I tried the following to resolve the issue:
In httpd.conf uncommented the ServerName & added the App Server IP:Port Number. Output of sudo httpd -t is giving Syntax OK but restart is failing due to above error.
Even I tried the steps uninstalling & reinstalling Apache but no success.
Thanks @peterwhite for the hint. I was working on the similar line & even after after following the given article it didn’t resolve. I was not able to kill the process listening to the same port but Apache restarted after this try. So, at the end I was able to restart Apache. I was able to successfully complete the task. Thanks once again for help.
@pmpcert2013, I’m glad to hear that everything worked out!
Along those lines, I’ve encountered similar issues (only once, IIRC) where a service failed to restart the first time, but succeeded the second without making and configuration changes…
@naveensrivatsa Static website is nothing, you just need to make sure Apache is serving content from default document root as the task is to troubleshoot the issue so make sure not to change any valid default settings. We can mark it Pending for you. Can you please let us know if you got assigned today’s task already ?
@Inderpreet I correct all of the configurations with double-checking. But, App01 and App03 error is “refused connection”. How do I solve this error? I tried double time for this Apache Trouble Shooting. Give me a light!
Yes, all apache service is running by checking, systemctl status httpd. It’s working and active. But, when I connect from Jump_Host, an error is “refused connection”. Please, advice me!