Help Center/ ServiceStage/ User Guide (ME-Abu Dhabi Region)/ FAQs/ What Should I Do If I Cannot Access the Port During VM-based Deployment?
Updated on 2023-06-25 GMT+08:00

What Should I Do If I Cannot Access the Port During VM-based Deployment?

Symptom

During basic configuration of component deployment, selecting VM for Deployment System and Elastic cloud server for Resource Type may prevent access to the container port. When the curl -kv http://${IP address of the ECS node where the application component is deployed}:${Container port} command is run to access the container port, the system displays a message indicating that the access timed out.

Solution

  1. Log in to the ECS console and click Elastic Cloud Server.
  2. In the ECS list, find the target ECS for deploying the component and click it to open its details page.
  3. On the Security Groups tab, click Change Security Group and check whether the port rule exists in an existing group.

    • If yes, select the security group.
    • If no, click Create Security Group to create one and configure its rules. Next, select the created group.

  4. Run the curl -kv http://${IP address of the ECS node where the application component is deployed}:${Container port} command again to access the container port and check whether the fault is rectified.