You need to capture traffic on a server to prove whether a client's requests are even arriving. How?
IntermediateScenarioNetworking, SSH and remote access
Answer
Situation read → tcpdump with a tight filter.
What I'd do →
sudo tcpdump -i any -nn 'tcp port 8080 and host 198.51.100.7' -c 200
sudo tcpdump -i eth0 -nn -s0 -w /tmp/cap.pcap 'port 8080' # open in Wireshark later
Look for SYN without SYN-ACK (app or firewall), or SYN followed by RST (nothing listening).
Why → Packets on the wire are the ground truth when app logs and the client disagree.
Interview tip → Filter tightly on busy servers or the capture itself causes load.
More on Networking, SSH and remote access
A key belonging to a departed engineer may be in `authorized_keys` on 300 servers. How do you rotate SSH keys across the fleet?IntermediateYou need to reach a database on a private subnet from your laptop through a bastion. How?BeginnerYour security team wants SSH hardened on all servers. What changes do you make?BeginnerA new server needs a static IP, gateway and DNS on RHEL 9. How do you configure it persistently?BeginnerYou're changing the network config of a remote server over SSH and could lose access. How do you protect yourself?IntermediateA web server should accept HTTP/HTTPS from anywhere but SSH only from the office. Configure the firewall.Beginner