>_ IzzyLab

Topic breakdown

A listening socket is a process that has claimed a port and waits for incoming connections (the LISTEN state). The modern tool for inspecting them is ss (a replacement for the old netstat); flags set filters: only listening, only TCP, no resolving of ports into names, and showing the owning process. The task is to find the line of the right process in the socket table and pull the port number after the colon out of the local-address column.

What's checked

  1. the correct port is written

What it looks like