CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] Changed port to 443 now only uses ipv6

Open english0or0spanish opened this issue 6 months ago • 1 comments
trafficstars

Describe the bug

A clear and concise description of what the bug is.

So i wanted to change my casaos port to 443 because i was told it was more secure so i did but when trying to get into the server it didnt let me with some help with ai i found out it was only using ipv6 and the only way i can access it is using localhost:443 meaning i dont think i can access it when im away To Reproduce

Steps to reproduce the behavior:

  1. Go to 'casaos settings'
  2. Click on 'WebUI Port'
  3. Change to '443'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

I was expecting it to work like normal Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

 - OS: [e.g. iOS] Ubuntu (latest)
 - Browser [e.g. chrome, safari]FireFox
 - Version [e.g. 22]latest

System Time

Run timedatectl and share the output

(timedatectl output here)

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

english0or0spanish avatar Apr 23 '25 17:04 english0or0spanish

Port 443 isn't by definition more secure, it is the default port for https (Hyper Text Transport Protocol Secure) trafic (port 80 typically is for http (Hyper Text Transport Protocol) trafic), it also in most cases requires a valid SSL certificate unless you have a self-signed certificate, in which case you can bypass any "insecure site" messages fairly easily.

Try your link explicitly with HTTPS (Example: https://<your-custom-domain-or-IP+port-here>)

Otherwise you may have to set up something like certbot and/or Let's Encrypt and generate a valid SSL certificate to access your CasaOS userpanel. As for how to set that up, I am no expert, unfortunately.

EDIT: Added context.

Zidakuh avatar Apr 30 '25 22:04 Zidakuh