web runs in public-a; its security group allows port 80 only. The role flow-logs exists.
-
Keep the VPC's id in
VPC, and create a flow log that records the VPC's rejected traffic into the log group/market/flow. -
Put
web's public IP inIPand try a port the security group does not allow:shcurl -m 3 http://$IP:8080/ -
Read the rejected records of
/market/flow, and find the port in the one your curl left.