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

localhost:3000/books/1 throws internal server error #7

Closed
Sand-2050 opened this issue Sep 10, 2019 · 1 comment
Closed

localhost:3000/books/1 throws internal server error #7

Sand-2050 opened this issue Sep 10, 2019 · 1 comment

Comments

@Sand-2050
Copy link

localhost:3000/books/1 throws internal server error.
Response:
{
"name": "SequelizeConnectionRefusedError",
"parent": {
"errno": "ECONNREFUSED",
"code": "ECONNREFUSED",
"syscall": "connect",
"address": "127.0.0.1",
"port": 5432
},
"original": {
"errno": "ECONNREFUSED",
"code": "ECONNREFUSED",
"syscall": "connect",
"address": "127.0.0.1",
"port": 5432
}
}

Status: 500 Internal Server Error
But this url works: http://localhost:3000/landing
Not sure how to proceed.

@taylonr
Copy link
Owner

taylonr commented Sep 10, 2019

Hi,

Could you please post this in the course discussion: https://app.pluralsight.com/library/courses/postman-fundamentals/discussion

It makes it easier for people to search for their error, in case someone else has already had it. And that way I can not only help you, but anyone in the future who might run in to the same thing.

@taylonr taylonr closed this as completed Sep 10, 2019
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