shibd commented on issue #21088:
URL: https://github.com/apache/pulsar/issues/21088#issuecomment-1706704211

   oh, In your case. Even if you configure the correct broker address in time, 
it will not work.
   
   Because the broker lookup returns a result of 127.0.0.1. 
   
   So you get an error:
   ```
   2023-09-05T13:25:57,774+0000 [pulsar-client-io-1-7] WARN  
org.apache.pulsar.client.impl.ConnectionPool - Failed to open connection to 
127.0.0.1/<unresolved>:6650 : 
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) 
failed: Connection refused: /127.0.0.1:6650
   ```
   
   Maybe you also need to set` advertisedAddress` on the broker side.
   
   
https://github.com/apache/pulsar/blob/10ffbeb4dfd6328238088ec4c5909dc14391d99c/conf/standalone.conf#L46-L48
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to