Which action should precede connecting when the suspicious port is unknown?
Delete all network logs.
Scan localhost with a tool such as nmap localhost or inspect listeners with ss -tlnp.
nmap localhost
ss -tlnp
Restart every service before reconnaissance.
Search the filesystem for a file named flag.txt.