Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect with port? #24

Open
gillbates opened this issue Oct 14, 2021 · 2 comments
Open

cannot connect with port? #24

gillbates opened this issue Oct 14, 2021 · 2 comments

Comments

@gillbates
Copy link

Hi Team,

thanks for the efforts first of all:)
I have a postgres running with port 9000.
But it seemed it cannot connect?

image

@soorajshankar
Copy link
Collaborator

Hey @gillbates,

Thanks for reporting this, I tried connecting to a PG database with port, It seem to be working for me. Looks like the error message is not informative engough to debug the error. Could you verify the following?

  • The DB instance is accessible from the computer where you have the DB Lens installed
  • Connection string has correct DB user, password and port

Expectation is that it should be able to connect from any machine where you can connect to a DB using psql command

psql postgresql://postgres:[email protected]:9000/postgres     

@aracelis888
Copy link

Ok, i found that, the shell will print
psql: error: connection to server at "127.0.0.1", port 9000 failed: FATAL: password authentication failed for user "postgres"

but in UI, it shows couldn't connect to the database.

After I changed to correct password, it connected.

image

but still it shows no data, should I enable some plugins?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants