Hands-on task
This task is step 3 of the course “Networking and HTTP from the terminal”
ss: who's listening on a port
An HTTP server written in Python is running on the machine. Determine which TCP port it is listening on (in the LISTEN state) and write the port number to /root/port.txt.
What you'll practise:
- ss
- tcp sockets
- listen
- ports
- processes