Tying out confluent kafka - unable to consume or produce messages from a local system using CLI

Hi - I am trying out confluent Kafka, going through tutorials. i enabled FW rules to allow my local system to talk to confluent kakfa instance. i am able to successfully telnet to the broker, however both consuming and producing messages using confluent cli gives exception
kafka consume command throws: % Error: Local: Broker transport failure: GroupCoordinator
kafka produce command throws: Confluent-CLI_v2.37.0#producer-1| : Connection setup timed out in state CONNECT (after 30077ms in state CONNECT)