Metric request error with PostgreSQL

Solved by removing http:// after configuring the postgresql configuration in Home Assistant for PostgreSQL database port, expose this if you need to access outside of Home Assistant