Not able to configure the SQL PI

Hi All,

I am new to foglight, while configuring I got below error,  can you please help me on resolve this issue.

Failed to enable SQL PI monitoring extension for SQL Agent Test
Failed to establish connection to SQL PI repository from the FMS. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Thanks | Chandru M