• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Hosted domain connection refused - help...

elcopdoo

Basic Pleskian
We have latest Plesk 12 on Centos 7,
I can login to Plesk UI and mail is working,

but cannot access hosted website www.elcop.hr :
Error: Connection refused

Anyone can help?
 
Make sure that port 80 is not firewalled there. I have checked accessibility of this port and I see:

# telnet elcop.hr 80
Trying 92.242.243.163...
telnet: connect to address 92.242.243.163: Connection refused
 
I disabled firewalld and selinux, what can I do next?

Is this correct IP address for this domain - 92.242.243.163 ?
Have you checked Apache logs? Can you connect to port 80 of this domain directly on this Plesk server?
 
IP is correct,
[root@server2 ~]# telnet elcop.hr 80
Trying 92.242.243.163...
telnet: connect to address 92.242.243.163: Connection refused

Seems that port 80 is blocked but with what?

I tried to disable failban and Plesk firewall with no luck...
 
Last edited:
What about output of command

# lsof -i tcp:80

on this Plesk server. Are you sure that Apache is up and running?
 
Check that Apache is really started:

# /etc/init.d/httpd status
httpd (pid 26544) is running...
 
[root@server2 ~]# sudo systemctl enable httpd.service
[root@server2 ~]# sudo systemctl start httpd.service
[root@server2 ~]# lsof -i tcp:80
[root@server2 ~]# systemctl is-active httpd.service
active
[root@server2 ~]# sudo systemctl restart httpd.service

After reboot issue remains...
 
Last edited:
I know which ports, I need procedure for opening ports in Centos 7 minimal...

I tried with:
SELINUX=disabled
and
firewall-cmd --zone=dmz --add-port=xx/tcp --permanent
firewall-cmd --reload

I cannot login to Plesk...

If I turn off firewalld completely, does Plesk replace with it's own firewall?
 
Last edited:
Unfortunately, problem reappeared after few hours:

Connection refused

This time opening ports is not helping:
# firewall-cmd --zone=public --add-port=80/tcp --permanent
# firewall-cmd --reload

I can login to Plesk GUI and mail works, but domain site and webmail not (Connection refused).
I completely reinstalled Centos 7 and Plesk and all worked till now...

Is this a problem in Plesk?
I noticed that after fresh installation Plesk dont give option to update to last MU 13.
 
Update:

1. Restarted NGINX
2. Restarted APACHE

Access to website now works..

Seems that NGINX and/or APACHE get stuck at some point...

Still no way to update to MU 13...
 
Last edited:
Here is the part of the Plesk panel log:
[18-Aug-2014 18:25:58 Europe/Berlin] PHP Fatal error: Uncaught exception 'Servi
ce_Driver_Exception' with message 'Can not reload proxy server: ' in /usr/local/
psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php:116
Stack trace:
#0 /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php(86): Service
_Driver_Web_Proxy_Nginx->restart()
#1 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(212): Template_W
riter_Webserver_Abstract->restart()
#2 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(112): Template_C
onfiguration_Applier->_applyConfigurationsToServiceNode(1, Array)
#3 [internal function]: Template_Configuration_Applier->applyConfiguration()
#4 {main}
thrown in /usr/local/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php on line
116
#4 /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php(86): Service_Driver_Web_Proxy_
Nginx->restart()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(212): Template_Writer_Webserver_Ab
stract->restart()
#6 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(112): Template_Configuration_Appli
er->_applyConfigurationsToServiceNode(1, Array)
#7 [internal function]: Template_Configuration_Applier->applyConfiguration()
#8 {main}

[18-Aug-2014 18:25:58 Europe/Berlin] PHP Fatal error: Uncaught exception 'Service_Driver_Exceptio
n' with message 'Can not reload proxy server: ' in /usr/local/psa/admin/plib/Service/Driver/Web/Pr
oxy/Nginx.php:116
Stack trace:
#0 /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php(86): Service_Driver_Web_Proxy_
Nginx->restart()
#1 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(212): Template_Writer_Webserver_Ab
stract->restart()
#2 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(112): Template_Configuration_Appli
er->_applyConfigurationsToServiceNode(1, Array)
#3 [internal function]: Template_Configuration_Applier->applyConfiguration()
#4 {main}
thrown in /usr/local/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php on line 116
~
#4 /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php(86): Service_Driver_Web_Proxy_Nginx->restart()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(212): Template_Writer_Webserver_Abstract->restart()
#6 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(112): Template_Configuration_Applier->_applyConfigurat
ionsToServiceNode(1, Array)
#7 [internal function]: Template_Configuration_Applier->applyConfiguration()
#8 {main}

[18-Aug-2014 18:25:58 Europe/Berlin] PHP Fatal error: Uncaught exception 'Service_Driver_Exception' with message 'Can
not reload proxy server: ' in /usr/local/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php:116
Stack trace:
#0 /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php(86): Service_Driver_Web_Proxy_Nginx->restart()
#1 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(212): Template_Writer_Webserver_Abstract->restart()
#2 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(112): Template_Configuration_Applier->_applyConfigurat
ionsToServiceNode(1, Array)
#3 [internal function]: Template_Configuration_Applier->applyConfiguration()
#4 {main}
thrown in /usr/local/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php on line 116
 
After few more hours NGINX get stuck again,
I get 504 Timeout error.

Please give instructions how to find the root of this instability...
 
Last edited:
What is this:
PHP Fatal error: Uncaught exception 'Service_Driver_Exception' with message
'Cannot reload proxy server: ' in /usr/local/psa/admin/plib/Service/Driver/Web/Proxy/Nginx.php:116

Update:
hapened twice today
after server restart domain is not accessible until I restart NGINX and APACHE..
 
Last edited:
NGINX restart solved the problem

I had the same problem as above. After i restarted the NGINX module website was online again. One obvious thing that i mentioned is that not all of the webpages were offline.

Strange error but solved :)
 
I have the same issue!

Fresh CentOS 7 install and newest plesk 12.

When I reboot the server, ports 80, 433 not responsive! I need to restart nginx module or disabled it! This is cleary a Plesk Bug and should be resolved ASAP!
 
Back
Top