localhost の開いているポートと待ち受け中のサービスをスキャンするコマンドはどれですか?
localhost
cat localhost
chmod localhost
curl localhost
nmap localhost