Help Center> Distributed Message Service for Kafka> User Guide (Paris Region)> FAQs> Instances> Can I Modify the Port for Accessing a Kafka Instance?
Updated on 2023-08-29 GMT+08:00

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: port 9092
    • Public access: port 9094
    • Cross-VPC access and DNAT access: port 9011
    • DNAT access: port 9011
  • Accessing a Kafka instance with SASL:

    The port varies with the access mode:

    • Intra-VPC access: port 9093
    • Public access: port 9095
    • Cross-VPC access and DNAT access: port 9011
    • DNAT access: port 9011

Ensure that correct rules have been configured for the security group of the instance. For details, see How Do I Select and Configure a Security Group?