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

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