Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all, I am connecting to my PostgreSQL dB using ODBC for Power BI. When I tested my connection in ODBC, it worked fine. When I tested the connection again in my IDE, it worked fine.
When I am trying to establish connection to Power BI, it returns this error message:
DataSource.Error: ODBC: ERROR [08001] could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5431?
FATAL: password authentication failed for user "readonly"
I don't know what's wrong because I am very sure the password is exactly what is given to me by my IT admin guy. Please help.
having the same error here, in windows too, could you manage to solve it @Alex_Ooi ?
@Alex_Ooi
Try the troubleshooting solution here: https://www.ionos.com/community/hosting/postgresql/troubleshoot-a-postgresql-could-not-connect-to-se...
To correct this, edit your posgresql.conf file:
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous I don't think this is applicable to me as I am using Windows OS. Apologies for not mentioning this earlier.
@amitchandak hi, thanks for your reply. Yes, I am giving the correct url. Like I said, there is no problem with the connection when I established it in ODBC and my IDE.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |