I am creating a project using Spring Boot in IntelliJ Idea. I use windows OS. I want to use PostgreSQL as a database for my project.But I get an error that"Connection refused check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections"
2.Then I created a file named data.sql and created my issue table in it:
3. My database properties:
4. My postgresql.conf file:
5. My hba.conf file:
6. The error that I get:
Can you please help me to fix this issue ?
Community moderators have prevented the ability to post new answers.
Hi Minel,
welcome to the Atlassian Community!
Although I am not absolutetly sure if your question is about Jira in particular the error message suggest the database is not accepting connections.
This could be due to a non-running service (the database is then just not accepting any connections) or a firewall is preventing communication. As you suggest everything is running on your machine (localhost) it should be possible for you to determine.
Probably you could outline a bit in detail the setup, please? It is more likely that somebody from community is then able to help.
Cheers,
Daniel
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.