How do I know if Apache is listening on port 80?

How do I know if Apache is listening on port 80?
Answer
1 Answer
  1. lsof -i will list open ports and the corresponding applications. lsof | grep apache for apache. …
  2. See /etc/hosts for IP addresses connected to names.
  3. See /etc/apache2/sites-enabled/ for settings about the sites that are active for Apache.
  4. See /etc/apache2/ports.conf for the Listen .
19 июл. 2017 г.
 

Tìm kiếm

Back
Top