docs: advertencia 0.0.0.0 vs 127.0.0.1 — 502 Bad Gateway si queda en loopback

This commit is contained in:
2026-06-05 12:19:12 -05:00
parent f61e09a1e2
commit 77985ff57b
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -31,7 +31,10 @@
## Servicio systemd
- Servicio: `pflores-web.service`
- Puerto interno: `127.0.0.1:8081`
- Puerto: `0.0.0.0:8081`
> ⚠ **El servicio DEBE escuchar en `0.0.0.0:8081`**, no en `127.0.0.1:8081`.
> NPM viene de una IP externa y no puede alcanzar el loopback. Si queda en `127.0.0.1` el resultado es **502 Bad Gateway**.
```bash
sudo systemctl status pflores-web