Page 1 of 1

Connection Refused

Posted: Fri Nov 07, 2014 8:13 am
by abbabarde
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

Re: Connection Refused

Posted: Fri Nov 07, 2014 8:20 am
by B.Goode
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.

Re: Connection Refused

Posted: Fri Nov 07, 2014 6:32 pm
by emgi
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