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

http://localhost:3000/login?error=connect%20ECONNREFUSED%20127.0.0.1%3A5432 #786

Open
vashisth00 opened this issue Jul 22, 2021 · 1 comment

Comments

@vashisth00
Copy link

I have setup Google OAuth credentials are also placed in env after google popup in new tab when I login it returns back with

http://localhost:3000/login?error=connect%20ECONNREFUSED%20127.0.0.1%3A5432

@koistya
Copy link
Member

koistya commented Jul 23, 2021

@vashisth00 it fails to connect to PostgreSQL database on 127.0.0.1:5432. Ensure that it's up and running locally (e.g. via Docker or Postgres App for macOS). Or, use a remote instance of PostgreSQL (e.g. Google Cloud SQL) and update .env file with new database connection settings.

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

No branches or pull requests

2 participants