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

[PostgreSQL error] failed to retrieve PostgreSQL server_version_num: connection refused #13010

Closed
nboddu009 opened this issue May 10, 2024 Discussed in #13009 · 2 comments
Closed
Labels
pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...

Comments

@nboddu009
Copy link

Discussed in #13009

Originally posted by nboddu009 May 9, 2024
Hi Team,
Can someone help with installation issue in Ubuntu, I had installed Kong but when i am trying to start the kong, It is giving connection refused issue.
I had used https://docs.konghq.com/gateway/3.6.x/install/linux/ubuntu/ to install the kong.

user1$ sudo kong start
2024/05/09 22:22:55 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
2024/05/09 22:22:55 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: connection refused

Run with --v (verbose) or --vv (debug) for more details
user1$ psql --version
psql (PostgreSQL) 14.12 (Ubuntu 14.12-1.pgdg20.04+1)

@StarlightIbuki
Copy link
Contributor

StarlightIbuki commented May 11, 2024

Please ensure you have the correct set up for database connection, say, the hostname.

@chronolaw chronolaw added the pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc... label May 13, 2024
@nboddu009
Copy link
Author

Thanks @chronolaw , I reinstalled the correct version of postgres and now it is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending author feedback Waiting for the issue author to get back to a maintainer with findings, more details, etc...
Projects
None yet
Development

No branches or pull requests

3 participants