Hello @luisegundo
@luisegundo said in NocoDB and Metabase on my Cloudron instance:
Why would Metabase try to connect using a 172.x.x.x container IP if “postgresql” is always resolvable between apps?
By default, the Cloudron internal PostgreSQL Service container with hostname postgresql resolves to the IP address 172.18.30.2.
If Metabase resolves the hostname postgresql to 172.18.30.2 that is correct.
@luisegundo said in NocoDB and Metabase on my Cloudron instance:
Is there a way to verify inside each container that the hostname “postgresql” resolves correctly (for example, via ping, nslookup, or another command)?
Yes, if you open the Web Terminal of an app, you can verify this with either nslookup or dig.
Example from a Cloudron server with just 1x LAMP app and from inside that LAMP apps Web Terminal
root@fbbbe700-24f0-4832-89e8-487e633c35d3:/app/code# nslookup postgresql
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: postgresql
Address: 172.18.30.2
Name: postgresql
Address: fd00:c107:d509::f
root@fbbbe700-24f0-4832-89e8-487e633c35d3:/app/code# dig postgresql
; <<>> DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> postgresql
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26454
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;postgresql. IN A
;; ANSWER SECTION:
postgresql. 600 IN A 172.18.30.2
;; Query time: 2 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Wed Dec 17 19:17:33 UTC 2025
;; MSG SIZE rcvd: 54
@luisegundo said in NocoDB and Metabase on my Cloudron instance:
Is there a way to confirm that both apps are on the same internal Cloudron network?
If the Metabase app is resolving postgresql to 172.18.30.2 then it is in the same network.
@luisegundo said in NocoDB and Metabase on my Cloudron instance:
We are simply trying to connect Metabase → NocoDB PostgreSQL using the internal addon credentials.
I just want to make sure we are speaking about the same thing here.
Since in my previous post, the Metabase UI states Add a database and you are writing about using the internal addon credentials.
You are trying to add the NocoDB Database inside Metabase with the Add a database, correct?
If you feel like this is going nowhere, please enable Remote Support and write an email to support@cloudron.io and reference this topic in your email.