• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved server-status connection refused

solucionesuno

Regular Pleskian
apachectl fullstatus
Connection refused

CENTOS 7. Apache 2.4, mod_status is loaded.

i can not really find the way to do work this.

I have added

<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 localhost ip6-localhost
</Location>
ExtendedStatus On
</IfModule>


in server.conf, httpd.conf without succesfull.
 
Sorry, the question is where i have to add cause always i get connection refused to server status.


<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 localhost ip6-localhost
</Location>
ExtendedStatus On
</IfModule>
 
It is for sure not working for the reason that you are using Nginx on port 80 and 443 as frontend and mod_status is expecting Apache on port 80.

When you disable Nginx and use Apache-only it will connect. Disable Nginx for a test (if this does not harm any websites on your machine that might be configured for exclusive Nginx use):
# /usr/local/psa/admin/sbin/nginxmng -d
Re-enable Nginx by
# /usr/local/psa/admin/sbin/nginxmng -e
after your test.

What I do not know, though, is how to tell mod_status to listen on port 7080 instead of port 80. When you figure it out how to tweak that, could you please post the solution here (on how to make mod_status listen to port 7080 instead of 80)?
 
Thanks Peter, ican access now to server-status with this:


<IfModule mod_status.c>
Listen 8001
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 ::1
</Location>
ExtendedStatus On
</IfModule>

And then:

lynx http://localhost:8001/server-status

Regards,



It is for sure not working for the reason that you are using Nginx on port 80 and 443 as frontend and mod_status is expecting Apache on port 80.

When you disable Nginx and use Apache-only it will connect. Disable Nginx for a test (if this does not harm any websites on your machine that might be configured for exclusive Nginx use):
# /usr/local/psa/admin/sbin/nginxmng -d
Re-enable Nginx by
# /usr/local/psa/admin/sbin/nginxmng -e
after your test.

What I do not know, though, is how to tell mod_status to listen on port 7080 instead of port 80. When you figure it out how to tweak that, could you please post the solution here (on how to make mod_status listen to port 7080 instead of 80)?
 
Back
Top