Hello, After running npm run develop
I got this error:
> strapispnsors@0.1.0 develop
> strapi develop
[2022-03-20 02:02:35.443] debug: ⛔️ Server wasn't able to start properly.
[2022-03-20 02:02:35.444] error: connect ECONNREFUSED 127.0.0.1:5432
Error: connect ECONNREFUSED 127.0.0.1:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1133:16)
Can you advise on how to resolve this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I’m getting the same error. Did you find the sol for it ?
This comment has been deleted
Hi @,
The ECONNREFUSED is coming from the database, it’s refusing the connection for some reason. The most possible reasons for this are wrong user/password, lack of database permissions or unavailable Database instance.