I am new Raspberry pi user, recently while exploring , I did a remote shutdown of my Rpi with sudo halt command, since then I am not able to connect the Rpi remotely from my windows machine using putty , when ever I try , I get Network Error: Connection timedout error. I guess I have set a Static ip address, as I have not change any configuration to enable DHCP server.

  • Have you unplugged and replugged the pi? It won't boot again until you do so you won't connect because the pi is 'off'
    – rohtua
    Commented Feb 7, 2019 at 13:15
  • yes.. I have replugged pi as will rebooted pi several times Commented Feb 7, 2019 at 13:31
  • Have you checked whether the IP address has changed??? Running sudo halt isn't going affect anything unless you don't turn it back on :p unless you set a static IP routers can change the IP of a device especially if while the device has been off it's issued it's previous IP to another device. I'd have a look on your router and make sure the IP is correct. Failing that hook it up to a monitor and have a look on the pi to see what network it's connecting to or if any errors are appearing.
    – rohtua
    Commented Feb 7, 2019 at 13:34
  • Do you have set a static ip address on the RasPi or do you use a DHCP server on your network?
    – Ingo
    Commented Feb 7, 2019 at 23:55
  • I guess I have set a Static ip address, as i have not change any configuration to enable DHCP server Commented Feb 8, 2019 at 7:20

1 Answer 1


You wrote you do not have made any changes to enable using a DHCP server. On Raspbian this is the default setting out of the box. If you do not changed any settings on the network configuration then the RasPi will get an ip address from a DHCP server that is very often presented by the (internet) router. if a DHCP server isn't found the RasPi will use a link-local address that can be addressed with raspberrypi.local.

Seems you have found the ip address from the first boot so you could connect to it. But with a reboot it is possible that the RasPi gets a new ip address. It's now up to you to find the new ip address. Here are many answers about to find ip address. One that may help you I have found at How do I find out the IP address of my Pi?. Have also a look at the comments on that answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.