Error: failed to read local ports from config

Hi,

I’m trying to create a topic in confluent local by running the command confluent local kafka topic create test-topic but I’m getting error saying that

Error: failed to read local ports from config

Suggestions:
    Kafka REST connection is not ready. Re-running the command may solve the issue.

I’ve installed confluent community edition on an ubuntu EC2 instance. When i run confluent local services start all the services are coming up but the topics are not getting created.

Please help how can I solve it.

Thanks,
Sneha

The confluent local kafka ... and confluent local services ... commands don’t interoperate. confluent local kafka start is for running only Kafka in Docker, while confluent local services start is for running Confluent Platform (Kafka broker as well as Connect worker, Schema Registry, ksqlDB) native executables.