<p>I'm trying to use this confluent helm chart:
<a href="https://github.com/confluentinc/cp-helm-charts" rel="nofollow noreferrer">https://github.com/confluentinc/cp-helm-charts</a>
I know it is not maintained anymore, but I cannot use the another one, because of firewall issue.</p>
<p>I installed it on our dev Openshift 4 cluster, but I'm having problem when I test my application from local. I cannot access to the cluster from local.</p>
<p>The error message:</p>
<pre><code>2022-12-05 10:46:40.532  WARN 15096 --- [ntainer#0-0-C-1] org.apache.kafka.clients.NetworkClient   : [Consumer clientId=consumer-consumer-1, groupId=consumer] Error connecting to node prf-confluent-cp-kafka-0.prf-confluent-cp-kafka-headless.lapc-dev:9092 (id: 2147483647 rack: null)

java.net.UnknownHostException: No such host is known (prf-confluent-cp-kafka-0.prf-confluent-cp-kafka-headless.lapc-dev)
</code></pre>
<p>I enabled the the external listeners:</p>
<pre><code>  &quot;advertised.listeners&quot;: |-
   EXTERNAL://${HOST_IP}:$((32090 + ${KAFKA_BROKER_ID}))
  &quot;listener.security.protocol.map&quot;: |-
   PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
</code></pre>
<p>and the nodeport:</p>
<pre><code>nodeport:
  enabled: true
  servicePort: 9092
  firstListenerPort: 32090
</code></pre>
<p>I see the following in the logs (I masked the ip with &quot;x&quot;):</p>
<pre><code>$ kubectl logs prf-confluent-cp-kafka-0 --container cp-kafka-broker  | grep liste
        advertised.listeners = PLAINTEXT://prf-confluent-cp-kafka-0.prf-confluent-cp-kafka-headless.lapc-dev:9092,EXTERNAL://10.xxx.x.xx:32090
        control.plane.listener.name = null
        controller.listener.names = null
        early.start.listeners = null
        inter.broker.listener.name = null
        listener.security.protocol.map = PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT
        listeners = PLAINTEXT://0.0.0.0:9092,EXTERNAL://0.0.0.0:32090
        remote.log.metadata.manager.listener.name = null
</code></pre>
<p>How can I troubleshoot this error?</p>

szend
<p>It looks like I used a wrong port. Now I'm using this and it is working.</p>
<pre><code>nodeport:
  enabled: true
  servicePort: 19092
  firstListenerPort: 32090
</code></pre>
