# Error: failed to read local ports from config

**URL:** <https://forum.confluent.io/t/error-failed-to-read-local-ports-from-config/37587>\
**Category:** Confluent Cloud\
**Created:** [26 March 2025 10:02 UTC](https://forum.confluent.io/t/error-failed-to-read-local-ports-from-config/37587 "2025-03-26T10:02:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snehagupta](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@snehagupta](https://forum.confluent.io/u/snehagupta)\
**Post date:** [26 March 2025 10:02 UTC](https://forum.confluent.io/t/error-failed-to-read-local-ports-from-config/37587/1 "2025-03-26T10:02:01Z")

</div>

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

```auto
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

---

<div class="post-metadata">

**Author:** ![dtroiano](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/dtroiano/32/1961_2.png) [@dtroiano](https://forum.confluent.io/u/dtroiano)\
**Post date:** [27 March 2025 15:00 UTC](https://forum.confluent.io/t/error-failed-to-read-local-ports-from-config/37587/2 "2025-03-27T15:00:01Z")

</div>

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.
