netstat -ntpl
For example, if the ECS uses port 80, run the curl command to check whether the communication is normal.