Ping from computer
Open the “Settings.” on the Android device. Then turn on your computer and search for Windows Command Prompt. Following open CMD as “Run as Administrator.” Then type “ping” followed by your Android device’s IP address and press “Enter.”