79347506

Date: 2025-01-11 04:00:48
Score: 1
Natty:
Report link

To further follow up from Sai deff going in the right direction...

If you are running windows and connecting to ubuntu the broker needs to be accessible from the host machine. This would require either adjustment on the brokers server and or following the steps needed to obtain the correct route. This question has actually been asked before and seems like resolution steps are out there:

there is a medium article as well that faced the same:

In summary you could attempt the following:

  1. Modify server.properties to listen on 0.0.0.0 and advertise the correct IP address.
  2. Ensure the Ubuntu firewall allows connections to port 9092.
  3. Update your Java producer to use the correct IP address of the Kafka broker.
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dylan LaMott