Debezium connector to Local PostgreSQL
I am trying to create a connector to monitor my DB changes and I am using docker + debezium + postgres but I get the below error.
{
"error_code": 400,
"message": "Connector configuration is invalid and contains the following 1 error(s):\nError while validating connector config: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.\nYou can also find the above list of errors at the endpoint `/connector-plugins//config/validate`"
}
I have tried to change my postgresql.config file to listen to my local host and no success.
please help
{
"error_code": 400,
"message": "Connector configuration is invalid and contains the following 1 error(s):\nError while validating connector config: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.\nYou can also find the above list of errors at the endpoint `/connector-plugins//config/validate`"
}
I have tried to change my postgresql.config file to listen to my local host and no success.
please help
Mohamed
Curtidas 0