Port change from 443 to 8443

Hi,

I’m using Nextcloud on an Raspi 4 with Dietpi (up to date ) That alone works pretty well. Now I trying to use Opencloud on my Synology NAS. It’s installed in with Docker / Portainer / etc and it works also, but I can only can use one at a time . Meaning both need port 443. I thought by using port 8443 for Nextcloud was enough , but sofar not successfull. The usual tipps from the Internet i.e edit the ports.conf and default ssl in the /etc/apache2/sites-available did not work. The router can be setup to route port 8443 to the raspi without problem. Apache2 has been restarted after the changes in the config files without complains. But it’s not working :face_with_raised_eyebrow:

I’m pretty sure that I overlooked something, but at present I could use a professional tipp

Tks

Henning

can you check LISTEN ports

ss -alnp | grep LISTEN

Hi, Version 1 & 2 ( blue with 8443 )

Hope it helps

Tks

ok and what is the issue now? Apache has been successfully moved from port 443 to 8443

pls try to avoid screen prints. You should be able to copy/past everything from SSH terminal directly.

The issue : it’s not working with port 8443 Looks like something is missing. Or some setting is wrong.

The browser ( FF & Chrome ) give up after some time and report that the server is not responding. Cache borth browser cleared before testing. Apache was always restarted after the changes

Tks

can you share the url (without the real domain) you use?

and what about https:\\your-ip-address:8443\nextcloud

If you run opencloud via docker you could run it on any port you want (e.g. 8443) and reverse proxy this to a subdomain, so both apps are available via https on port 443 without any extra port forwarding.
But you would need to switch from apache to nginx.
See: https://docs.opencloud.eu/docs/admin/getting-started/container/docker-compose/external-proxy/

Apache can work as revers proxy as well :wink:

Ok I didn’t know that.

But opencloud has only documentation for using nginx.

basically every modern web server is capable to do so.

I guess they simply did not add more than one web server config.