Hello,
I have failed Linux Network Services
even if I have stooped the process that was killed httpd service
Installed firewalld and added the proper port from the jump server I got a connection from stapp01 and could even curl to the page
Could you please tell me what did I do wrong?
Thanks
You need not install firewalld for this task. iptables is used for filtering. you can verify using
sudo iptables -L -v -n
and add specific rules to allow httpd.
This is how I got my task done
TASK
Linux Network Services
Term-1
telnet stapp01 3001
telnet stapp02 3001
telnet stapp03 3001
quit
Term-2
connect to app1
systemctl status httpd
systemctl start httpd
systemctl status httpd
netstat -tulnp
ps -ef | grep 262
kill -9 262
ps -ef | grep 262
netstat -tulnp
systemctl start httpd
systemctl status httpd
Term-1
telnet stapp01 3001
Term-2
netstat -tulnp
httpd -t
vi /etc/httpd/conf/httpd.conf
ServerName 172.16.238.10:3001
systemctl start httpd
httpd -t
systemctl status httpd
Term-1
telnet stapp01 3001
Term-2
netstat -tulnp
iptables -L
iptables -F
Term-1
telnet stapp01 3001