Resolving Database Hostname and Managing Your IP Address #22400
Locked
monicakh
announced in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Finding Your Database Hostname
Your database's hostname is crucial for establishing a direct connection. It resolves to the underlying IP address of your database. To find your hostname, navigate to your Database Settings. It's important to note that the pooler (connection pooler) has a different IP than your database. Therefore, to reveal the database host and direct connection string, you must hide the pooler connection string.
Example Hostname:
db.zcjtzmeifsoteyjytnbc.supabase.co
Managing Your IP Address
To determine your current IP address, you can use an IP address lookup website or the terminal command:
nslookup hostname
and press Enter.Example IPv6 Address:
2a05:d014:1c06:5f0c:d7a9:8616:bee2:30df
IPv6 Address
Upon project creation, a static IPv6 address is assigned. However, it's essential to understand that this IPv6 address can change due to specific actions:
IPv4 Address
Opting for the static IPv4 addon provides a more stable connection address. The IPv4 address remains constant unless:
Beta Was this translation helpful? Give feedback.
All reactions