Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Connection to localhost:5432 refused on nifi UI

avatar
Contributor

Hello. Im currently running nifi and postgresql on docker compose. I have a problem setting up the DBCPConnectionPool controller. I keep getting the error message below.

 

화면 캡처 2022-07-13 131449.png

Below is my configuration for DBCPConnectionPool 

화면 캡처 2022-07-13 131603.png

I have checked the db name and docker compose yml file but nothing seems wrong on that end. What could be causing the problem here? 

1 ACCEPTED SOLUTION

avatar
Contributor

Ok just in case anyone is suffering from the same problem as me.

Since I am running this on docker compose,

instead of localhost:5432, I changed it to <container name>:5432 and its working now 

View solution in original post

1 REPLY 1

avatar
Contributor

Ok just in case anyone is suffering from the same problem as me.

Since I am running this on docker compose,

instead of localhost:5432, I changed it to <container name>:5432 and its working now