Help Center/ CodeArts/ User Guide/ Preparations/ Private Access/ Configuring Local Access to CodeArts
Updated on 2026-01-12 GMT+08:00

Configuring Local Access to CodeArts

To access CodeArts from your private network, configure the private address of CodeArts in your local hosts file.

  1. Log in to a host that needs to access CodeArts, open the hosts file in C:\Windows\System32\drivers\etc\hosts, and add the following configurations:

    # VPC endpoint services
    ${Repo VPCEP-IP} codehub-${regionid}.devcloud.huaweicloud.com  
    ${Artifact VPCEP-IP} devrepo-${regionid}.devcloud.huaweicloud.com  
    ${Octopus VPCEP-IP} agent.codearts.${regionid}.myhuaweicloud.com  
    ${SWR VPCEP-IP} swr.${regionid}.myhuaweicloud.com  
    
      
    
    #AP-Singapore/LA-Sao Paulo1
    ${CF2 VPCEP-IP} devcloud.${regionid}.huaweicloud.com  
    
    # OpenAPI  
    ${APIG VPCEP-IP} cloudoctopus.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} codehub-ext.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} cloudbuild-ext.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} cloudpipeline-ext.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} cloudtest-ext.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} projectman-ext.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} codearts-check.${regionid}.myhuaweicloud.com
    ${APIG VPCEP-IP} docman.${regionid}.myhuaweicloud.com  
    ${APIG VPCEP-IP} codearts-deploy.${regionid}.myhuaweicloud.com

    Value description:

    • ${xx VPCEP-IP}: Search for endpoint service name xx in the VPC Endpoint Service column and record its ID.
      Figure 1 Obtaining a VPCEP-IP
    • ${regionid}:
      • AP-Singapore: ap-southeast-3
      • LA-Sao Paulo1: sa-brazil-1

  2. Verify that the following message shows up when the IAM users in your tenant account access CodeArts from the public network.

    Figure 2 Public access to CodeArts failed