Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-06-2007, 11:28 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
"Connection Refused" requires networking restart (?)

I have an openssh-server running on Ubuntu 7.04. Frequently, the server just suddenly becomes impossible to connect to; existing and new putty clients see "Network error: connection refused" messages.

I found that i need to do "/etc/init.d/networking restart" to get past this problem without restarting sshd (Restarting sshd doesn't help). The auth.log file does not contain any pointers.

I'm clueless as to how a 'networking restart' fixes the issue of accepting TCP connections.

Would greatly appreciate any suggestions for a remedy to avoid this issue in the first place or any tips as to where to start looking.

Old 08-06-2007, 03:08 PM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 68
How is your server connected to external world? And did you try to ping the host when it rejects ssh?


connections, tcp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh "Connection Refused" requires networking restart (?) donnoit Linux - Server 9 04-16-2009 09:23 PM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
What is "Xlib: connection to ":0.0" refused by server " rack201 Linux - Software 1 02-04-2004 07:49 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
bind and named and "rndc: connect failed: connection refused" coffee9876 Linux - Networking 3 12-16-2003 10:50 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration