Hands-on task
Who responds
A colleague left a list of services in /root/services.txt in the form address:port and asks you to find out which of them are accepting connections right now. Check each one and write the ones that responded to /root/alive.txt — in the same address:port form, one per line, in any order.
- host reachability
- curl --connect-timeout
- Connection refused vs timeout