Apache configured to listen on port 80 only but instead listening on port 8080 as well -


i not able use port 8080 because apparently used.

in order see program using it, typed following command in terminal (on macos):

   sudo lsof -n -i :8080 

here's result:

enter image description here

httpd listening on port 80, found out using following command:

sudo lsof -n -i :80 | grep listen 

here's result:

enter image description here

so went find out "httpd"-process was. apparently web server installed on machine. web server installed on machine apache2.

given fact concluded apache2 apparently configured listen on port 80 , on port 8080.

but: here's crazy thing: went folder /etc/apache2 , opened file "httpd.conf". in file apache configured listen on port 80 !!!

why hell listening on port 8080 ?!

how can make listen on port 80 ?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -