Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
/ etc / apache2をチェックせずに、またはcurlでテストすることなく、どのポートapache2が実行されているかを単純なユーザー(ROOTではない)としてチェックするにはどうすればよいでしょうか。
nmapをインストールして、開いているポートをスキャンできます。
nmap localhost
多くのサービスがある場合は、次のようにgrepすることができapache2ますhttp。
apache2
http
nmap localhost | grep http 80/tcp open http