Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(faq): check container connectivity with tools the image ships

Yudhi Armyndharis2b04d119c663
diff --git a/docs/12-troubleshooting-faq.md b/docs/12-troubleshooting-faq.md
index b593595e4..6fc072887 100644
--- a/docs/12-troubleshooting-faq.md
+++ b/docs/12-troubleshooting-faq.md
@@ -1205,7 +1205,8 @@ networks:
```bash
# Test connectivity from container
-docker exec openwa-api ping postgres
+docker exec openwa-api getent hosts postgres # DNS: does the name resolve?
+docker exec openwa-api pg_isready -h postgres -p 5432 # TCP + PostgreSQL accepting connections
docker exec openwa-api curl http://host.docker.internal:8080
```