Hi Ananya
You can try the below troubleshooting steps to ensure that raspberry pi is connected properly:
- Ping the IP address heard from the Rasberry Pi :
!ping <IP_address>
- Open windows command prompt and run "ipconfig". The IP address seen in the command prompt should be similar to the IP address heard from the Rasberry Pi. If not, then the Rasberry Pi is on a different subnet. To troubleshoot this, you can follow the below steps:
1. Go to the "Network and Sharing Center" on the computer. You will probably see something like "Ethernet 2" in the connections corresponding to the Rasberry Pi board.
2. Click on the "Ethernet 2", then click Properties.
3. Select "Internet Protocol Version 4 (TCPIP/IPv4)" and click on 'Properties'.
4. Select "Obtain IP address automatically" and "Obtain DNS server address automatically".
5. Click OK and OK and close.
6. Now, remove the cable from the Ethernet port and again insert, and restart the Rasberry Pi.
7. Get the IP address heard from the Rasberry Pi (It could be the same one as before).
8. Pinging this IP address should now be successful.