Where to start First steps track · 15 stages
Linux Labs

Networking

Quiz: ports and firewall

Question 1 of 10
Leave the quiz

What a socket's address in the output of ss means, who holds a busy port, how a refusal differs from a timeout and an HTTP status from curl's exit code, and how to open access to one source in nftables without opening it to the rest. The questions follow the lessons “Who is listening on a port”, “From connection to application response” and “Allow what is needed, keep the block”.

10 questions · threshold 70%

Read the output

On the server sudo ss -ltnp prints this line. The client requests http://192.0.2.10:8080/. What will it get?

LISTEN 0  511  127.0.0.1:8080  0.0.0.0:*  users:(("nginx",pid=1007,fd=4))
A–C or ↵ Sign in to answer
Loading…