abbabarde
Posts: 7
Joined: Thu Nov 06, 2014 9:42 am

Connection Refused

Fri Nov 07, 2014 8:13 am

Please i need help! I am trying to connect my raspberry pi via ssh to my Mac. It worked the first time but now it doesn't it keeps saying connection refused when i try to connect using "ssh pi@192.168.2.2" that was the exact same one i used the first time. Pls can you help out? I am trying to use it for my home automation project

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Connection Refused

Fri Nov 07, 2014 8:20 am

Check that 192.168.2.2 is the IP address that your RPi is currently using. It may have changed since the last time you were able to ssh into it.

User avatar
emgi
Posts: 357
Joined: Thu Nov 07, 2013 4:08 pm
Location: NL

Re: Connection Refused

Fri Nov 07, 2014 6:32 pm

If the ip address had changed, you would get a time-out.
"Connection refused" means it is not accepting ssh connections anymore.
Possible reasons for this are plenty, you know best what you changed when you logged in that first time. 8-)

If you can still access via the console you might be able to fix it.
Otherwise, the fastest option is to re-flash your card.

/emgi

Return to “Troubleshooting”