Can I Modify the Port for Accessing a Kafka Instance?
No. You must access a Kafka instance through one of the following ports:
- Accessing a Kafka instance without SASL:
The port varies with the access mode:
- Intra-VPC access using IPv4 addresses: port 9092
- Public access: port 9094
- Cross-VPC access using a VPC endpoint: port 9011
- Cross-VPC access using a peering connection: port: 9092.
- DNAT access: port 9011
- Accessing a Kafka instance with SASL:
The port varies with the access mode:
- Intra-VPC access using IPv4 addresses: port 9093
- Public access: port 9095
- Cross-VPC access using a VPC endpoint: port 9011
- Cross-VPC access using a peering connection: port: 9093.
- DNAT access: port 9011
Ensure that proper rules have been configured for the security group of the instance. For details, see How Do I Select and Configure a Security Group?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.