Linux Network Services
Our monitoring tool has reported an issue in Stratos Datacenter. One of our app servers has an issue, as its Apache service is not reachable on port 5003 (which is our Apache port). The service itself could be down, the firewall could be at fault, or something else could be causing the issue. Use tools like telnet, netstat, etc. to find and fix the issue. Also make sure Apache is reachable from the jump host without compromising any security settings.
ssh tony@stapp01
sudo su
systemctl status httpd
httpd -t
vi /etc/httpd/conf/httpd.conf
ServerName 172.16.238.10:8081 ## SetPort According to Task
netstat -anp |grep LISTEN |grep ":8081"
kill -9 450 # 450 pid_number According to Above Command
systemctl restart httpd
systemctl status httpd
sudo iptables -I INPUT -p tcp -m tcp --dport 8081 -j ACCEPT && sudo iptables-save > /etc/sysconfig/iptables && cat /etc/sysconfig/iptables