If Nginx, a hosting panel or another proxy already sits on the server, they fight for 80 and 443. Who holds them, and why not to mix.
A port belongs to one program at a time. Hiddify Manager needs 80 and 443, and beside an existing website at least one of them will not open.
Why 443? It is the port of the web, open almost everywhere and the least conspicuous. Port 80 is needed because the certificate issuer checks from there that the domain is yours. Without either, other errors follow.
Who has it
ss -tulpn | grep -E ':(80|443) 'The last column names the program.
| You see | It is |
|---|---|
| nginx, apache2 | A web server |
| docker-proxy | A container with that port |
| xray, sing-box, x-ui | Another proxy panel |
| caddy | A web server with automatic certificates |

Three ways out
- Another machinesimplest, a few dollars
- Move the websitestatic hosting, often free
- Website on another portwith a CDN in front
The docs are plain: install only on a dedicated server; it changes settings and breaks other sites or panels on the same one.
Coming from another panel
Users can be imported from X-UI. Export there, stop and remove the old panel, restart, see that 443 is free, then install.

Found out too late
Do not delete in haste:
- Download a backup from the panel.
- Stop the other program, for example
systemctl disable --now nginx. - Run
hiddify restart, thenhiddify status.
What it looks like
The installer does not always say that a port is taken. Instead:
- It finishes and the admin link does not open, or shows the old website.
- The certificate stays self-signed.
- haproxy or nginx is failed in
hiddify status.
The log of that service ends with Address already in use:
journalctl -u hiddify-haproxy -n 30 --no-pagerUsual neighbours
A hosting panel keeps its nginx alive and starts it again. Use another machine.
A website in Docker: docker ps shows 0.0.0.0:443->443/tcp. Map it to another port.
An earlier panel not fully removed:
systemctl list-unit-files | grep -E "xray|v2ray|trojan|x-ui|sing-box|hysteria"Apache from the image: apt purge apache2 -y.
If they must share
Move the website to another port and reach it through a CDN, which can fetch from 8443 or 2053 while visitors see ordinary https.
- The website listens on 8443Same certificate
- A rule in the CDNThis domain to 8443
- Install Hiddify Manager80 and 443 are free
- Certificates for the siteBy DNS from now on
Cleaning up a mess
Fastest is not repairing piece by piece but: back up, reinstall the system, install the panel, restore. Half an hour. Without a backup, write down users and dates first.
One minute before installing
ss -tulpn | grep -E ':(80|443) 'In the host's firewall open TCP 80 and 443 and UDP 443, which Hysteria2 uses.
Can I use other ports?
Configs may use more ports, but certificates and subscription pages still need 80 and 443.
Only 80 is taken. Is that all right?
No, automatic certificates use 80.
nginx came back after a reboot?
Use systemctl disable --now, not only stop.
What if UDP 443 is taken?
Only nodes over UDP fail. See ss -ulpn.
Is 80 needed later?
Yes, for renewals every two or three months.


