Connecting PostgresSQL <> DBGate - where to find the server url?

dvdmrn
HOBBY

a year ago

I am trying to connect DBGate to my PostgresSQL DB. Following what I have seen online on sites like answeroverflow, I have the following credentials filled:

  • server: ???

  • port: 5432

  • user : railway

  • password: $PGPASSWORD (value of this env variable)

  • default database: (blank)

I am not sure which server url to use. I have tried the following but all do not work:

  • public networking url: roundhouse.proxy.rlwy.net:NNNNN (where NNNNN is a port number)

  • $DATABASE_URL

  • $DATABASE_PRIVATE_URL

  • my website domain name

In other examples online, I see medium articles and such that find the server url in the Connections tab, but this tab no longer exists

0 Replies

dvdmrn
HOBBY

a year ago

N/A


a year ago

switch to the Use database URL mode and paste in your database url, set a display name and click save.
the database url is found in the service variables tab


dvdmrn
HOBBY

a year ago

wow much simpler! Thanks!


a year ago

no problem