- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Connection to localhost:5432 refused on nifi UI
- Labels:
-
Apache NiFi
Created 07-12-2022 09:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Below is my configuration for DBCPConnectionPool
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?
Created 07-12-2022 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created 07-12-2022 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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