• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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