# How Do I Check the Network Conditions of a Backend Server?

1. Verify that an IP address has been assigned to the server's primary NIC.
   1. Log in to the server. (An ECS is used as an example here.)
   2. Run the ifconfig or ip address command to view the IP address.

      For Windows ECSs, run ipconfig on the CLI to view their IP addresses.

2. Ping the gateway of the subnet where the ECS resides to check basic network communication.
   1. On the VPC details page, locate the subnet and view the gateway address in the Gateway column. Generally, the gateway address ends with .1.
   2. Ping the gateway from the ECS. If the gateway cannot be pinged, check the networks at Layer 2 and Layer 3.

Parent topic: Backend Server