Jump to content

[Solved] cannot connect to postgres database remotely


solooo7

Recommended Posts

I cannot remotely connect to postgres database

 

database: api-master

username: api-master-user

host: johnny.heliohost.org

 

 

response I get :

 

psql.bin: FATAL:  no pg_hba.conf entry for host "137.97.155.**", user "api-master-user", database "api-master", SSL on
FATAL:  no pg_hba.conf entry for host "137.97.155.**", user "api-master-user", database "api-master", SSL off

 

Link to comment
Share on other sites

I'm still not able to connect.

I get that same error.

 

Server [localhost]: johnny.heliohost.org
Database [postgres]: api-master
Port [6969]: 5432
Username [postgres]: api-master-user
psql.bin: FATAL:  no pg_hba.conf entry for host "137.97.151.241", user "api-master-user", database "api-master", SSL on
FATAL:  no pg_hba.conf entry for host "137.97.151.241", user "api-master-user", database "api-master", SSL off
 

 

Edit: It works now.

I didn't know I had to add my username in front of database name and database_username.

Edited by solooo7
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...