Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Is it bad Apache listen :80

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Is it bad Apache listen :80
  • Quote

Post by sim » Tue Nov 25, 2014 9:52 pm

Hello,

I always use
service httpd fullstatus
for httpd monitoring.

In case of vesta, it won't work because apache is not listening on default port.

Can i make apache listen on port 80,

in status.conf:
Listen 127.0.0.1:8081
Listen 127.0.0.1:80
Will it give me problems with the nginx?

Thanks!
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Is it bad Apache listen :80
  • Quote

Post by Milka » Wed Nov 26, 2014 7:47 am

You can't have both apache and nginx listening to the same port.
Use netstat -anp | grep httpd to see what ports apache is listening to.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Is it bad Apache listen :80
  • Quote

Post by sim » Wed Nov 26, 2014 10:07 am

Thanks, Milka.

I know which ports apache is listening. My problem was that

Code: Select all

service httpd fullstatus
Won't work with custom Apache port.

Anyway i found better solution to monitor Web server- apachetop

Code: Select all

yum install apachetop

apachetop $(find /var/log/httpd \( -name  \*.log -o -name \*_log \) -print | sed 's/^/-f '/)
Top

Milka
Posts: 137
Joined: Tue Feb 11, 2014 2:03 pm

Re: Is it bad Apache listen :80
  • Quote

Post by Milka » Wed Nov 26, 2014 10:17 am

If monitoring is important to you, why not monitor more than just apache and use Nagios (or any other good monitoring solution)?
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: Is it bad Apache listen :80
  • Quote

Post by sim » Wed Nov 26, 2014 10:19 am

I monitor all of the services. Apachetop just allows to see what user is getting most traffic realtime (almost).
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password