joshua019
Posts: 1
Joined: Wed Jan 15, 2014 11:34 pm

Putty network error: connection refused

Wed Jan 15, 2014 11:59 pm

Hi Everyone

Just started to play with Rasberry Pi, I was trying to use my laptop as display/input using ssh, I followed this guide http://pihw.wordpress.com/guides/direct ... onnection/. I have manage to ping my Rasberry Pi.

However, I have encountered an error "network error: connection refused". From what I have gathered it seems like this is a common problem and have popped in this forum before, I apologies for making a redundant post in advance, but in the previous post I can not find a solution, being a newbie probably made it harder as well.

Further details, I nether have a monitor and keyboard(cough*desk space) to setup my rasberry pi and I am using a windows 8.1 laptop.

Thanks

kamilon
Posts: 45
Joined: Thu Dec 05, 2013 4:23 am
Location: USA
Contact: Website

Re: Putty network error: connection refused

Thu Jan 16, 2014 1:20 am

Is the SSH Server enabled and running?
My blog! Mostly about electronics projects (Raspberry Pi, AVR Microcontrollers, and Arduinos) http://blog.kamilon.com

Angelus88
Posts: 442
Joined: Mon May 13, 2013 9:25 am
Location: Ivrea, TO (Italy)

Re: Putty network error: connection refused

Thu Jan 16, 2014 1:46 pm

The problem is that if you can't connect a keyboard and a monitor to the raspberry, we can't check if the ssh server is running...

It would just be enough to do "sudo raspi-config" from shell and set the ssh server to run at boot and then it should work

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Putty network error: connection refused

Thu Jan 16, 2014 2:16 pm

As far as I'm aware ssh daemon service is usually enabled by default, the likely reason for connection refusal is that your network link hasn't been correctly setup.
Without a TV or keyboard connected to your Pi I really don't see how it's possible to diagnose the problem.

Richard S.

gatorback
Posts: 23
Joined: Wed Jan 16, 2013 2:53 pm

Re: Putty network error: connection refused

Sat Mar 04, 2017 1:20 am

raspi-config => advanced options => select ssh: enable ssh server

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: Putty network error: connection refused

Sat Mar 04, 2017 5:05 am

- use a SD with a burned RASPBIAN image ( not a NOOBS setup SD )
- while still in cardreader ( on laptop) make a empty file called "ssh" on the ( /boot/ ) SD card
- put the SD card in the RPI and powerup ( with i understand ethernet cable connected to laptop ethernet port )
( the RPI enables SSH at boot and deletes the "ssh" file you had done)
see also viewtopic.php?p=1103025#p1103025

Return to “Beginners”