Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PostgreSQL - Connection refused error


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"

  1. For postgreSQL integration into my project, I updated my "" file as shown below:

      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 ?

2 answers

0 votes
Daniel Ebers Community Leader Oct 24, 2020

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.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Data Center

Introducing Data Center Community licenses

I'm Alison Huselid, Head of Product for Data Center at Atlassian. As we shared in our last post, we’ve been working on a solution for those of you who work for charitable non-profit organizations tha...

3,300 views 23 82
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you