Hello, I was following the all in one example and ran into this issue. The xray code was fine until I setup nginx. Nginx decoy website is up and running and has no problem.
error code from journal:
xray[52392]: Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/amd64) Mar 03 15:29:45 ubuntu xray[52392]: A unified platform for anti-censorship. Mar 03 15:29:45 ubuntu xray[52392]: 2023/03/03 15:29:45 [Info] infra/conf/serial: Reading config: /usr/local/etc/xray/config.json Mar 03 15:29:45 ubuntu xray[52392]: Failed to start: app/proxyman/inbound: failed to listen TCP on 443 > transport/internet: failed to listen on address: 0.0.0.0:443 > transport/internet/tcp: failed to listen TCP on 0.0.0.0:443 > listen tcp 0.0.0.0:443: bind: address already in use Mar 03 15:29:45 ubuntu systemd[1]: xray.service: Main process exited, code=exited, status=255/EXCEPTION
The setup is exactly the same as the example file, with my personal info instead of the placeholders
Only thing I think is different is /etc/nginx/nginx.conf
the setup says to put nginx.conf in /etc/nginx/nginx.conf.d
So should I delete the default nginx. conf in /etc/nginx/nginx.conf?
Hello, I was following the all in one example and ran into this issue. The xray code was fine until I setup nginx. Nginx decoy website is up and running and has no problem. error code from journal:
xray[52392]: Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/amd64) Mar 03 15:29:45 ubuntu xray[52392]: A unified platform for anti-censorship. Mar 03 15:29:45 ubuntu xray[52392]: 2023/03/03 15:29:45 [Info] infra/conf/serial: Reading config: /usr/local/etc/xray/config.json Mar 03 15:29:45 ubuntu xray[52392]: Failed to start: app/proxyman/inbound: failed to listen TCP on 443 > transport/internet: failed to listen on address: 0.0.0.0:443 > transport/internet/tcp: failed to listen TCP on 0.0.0.0:443 > listen tcp 0.0.0.0:443: bind: address already in use Mar 03 15:29:45 ubuntu systemd[1]: xray.service: Main process exited, code=exited, status=255/EXCEPTION
The setup is exactly the same as the example file, with my personal info instead of the placeholders Only thing I think is different is /etc/nginx/nginx.conf the setup says to put nginx.conf in /etc/nginx/nginx.conf.d So should I delete the default nginx. conf in /etc/nginx/nginx.conf?