Updated

What you see

Xray fails to start, or keeps restarting, and its log contains:
listen tcp 0.0.0.0:443: bind: address already in use

What it means

Only one program on a server can listen on a given port at a time. Something else — most often a web server — already holds the port Xray wants, so Xray can't start. VLESS + Reality usually uses TCP port 443, the same one every HTTPS website wants.
Quick fix
Run sudo ss -tlnp | grep ':443 ' to see which program holds the port. Stop it, or move Xray to another port such as 8443 and update your clients.

Causes and how to fix them

1. A web server is already on port 443

nginx, Apache and Caddy listen on 443 as soon as they have a certificate, and some VPS images install one by default. Find out what's there:
sudo ss -tlnp | grep ':443 '
If you don't need the web server, stop it and keep it from coming back after a reboot (replace nginx with the name shown):
sudo systemctl disable --now nginx

2. Another copy of Xray, or a panel, is running

Installing Xray twice — once by hand, once through a panel such as 3x-ui or Marzban — leaves two programs wanting the same port. Look for every Xray process and for containers publishing the port:
ps aux | grep -i xray
sudo docker ps

3. You'd rather keep the web server

Run Xray on another TCP port, like 8443; Reality works on any port. Open it in your firewall, then update the port in each client's profile — the server and clients must agree.
sudo ufw allow 8443/tcp

Using Nullsify?

Nullsify checks the ports it needs before installing anything and tells you which program holds one — for example “Port 443/TCP on the VPS is already in use by nginx”. Stop that program, or pick another port in the advanced VLESS settings, and try again.
Free for 1 server. Bring your own VPS — Nullsify configures WireGuard, AmneziaWG or VLESS on it for you.

Related problems

Read more