• 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.

Issue Apache and sw-cp-server uses the same ports (8443)

andreas.scherer

New Pleskian
Server operating system version
Centos 7.9
Plesk version and microupdate number
Obsidian 18.0.49
Hello dear specialists and others! ;)

Since 3 days I'm trying to get things fixed.

Like mentioned in the headline my problem is that either sw-cp-server is running on port 8443 and plesk-interface works or I kill sw-cp-server and - bingo - apache service is starting and running. They simply refuses to coexist.

Any hints for this problem?

I would appreciate and I would be very grateful if this story would be cleared up soon. It can't be thought like that. I've been running an instance of Plesk Obsidian on a cloud server for several years without any problems also running on Centos 7.9. The only difference between the installations is that the newly installed server is connected to the network using NAT and the one that has been running for some time is a dedicated server.

Many thanks in advance for your effort.
 
Hi All!
I think I have a solution for the described problem:

I changed /etc/sw-cp-server/conf.d/plesk.conf
from
server_names_hash_bucket_size 64;

server {
listen 8443 ssl;
listen 8880;
listen 127.0.0.1:8880 default_server;
include conf.d/*ipv6_ports.inc;


ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;

include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
}

to

server_names_hash_bucket_size 64;

server {
listen 8443 ssl;
listen 8880;
listen 127.0.0.1:8880 default_server;
include conf.d/*ipv6_ports.inc;


ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;

include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
}

then I wrote the following in console

systemctl start sw-cp-server.service


that's all! :cool:

It would be helpful if on of the gurus could tell me if plesk changes that file
and if so which template or config file to edit to make this change permanent.

Thanks for your help. cu
 
OMG the changed version must look like this one. :)

server_names_hash_bucket_size 64;
server {
#listen 8443 ssl;
listen 8880;
listen 127.0.0.1:8880 default_server;
include conf.d/*ipv6_ports.inc;
ssl_certificate /usr/local/psa/admin/conf/httpsd.pem;
ssl_certificate_key /usr/local/psa/admin/conf/httpsd.pem;
include conf.d/*plesk.inc;
include conf.d/*wpb.inc;
}

Have a wonderful day!
 
Back
Top