Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1108

connect binds only to hostname interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.9.2.Final
    • 0.9.0.Beta2
    • container-images
    • None
    • Hide

      Perform the following command inside the Docker container:

      curl -XGET http://localhost:8083/connectors
      

      AR: curl: (7) Failed to connect to ::1: Cannot assign requested address
      ER: []

      Show
      Perform the following command inside the Docker container: curl -XGET http://localhost:8083/connectors AR: curl: (7) Failed to connect to ::1: Cannot assign requested address ER: []

      docker-entrypoint.sh contains the following code:

      export CONNECT_REST_HOST_NAME=$HOST_NAME
      

      this causes the connect to be bound only to hostname interface.

      For more details refer to KAFKA CONNECT:

      NAME DESCRIPTION
      rest.host.name Hostname for the REST API. If this is set, it will only bind to this interface.

      I propose to remove this configuration so that the connect binds to all interfaces.

              andrey.pustovetov@gmail.com Andrey Pustovetov (Inactive)
              andrey.pustovetov@gmail.com Andrey Pustovetov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: