LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-06-2007, 11:28 AM   #1
donnoit
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.

Thanks
Vish
 
Old 08-06-2007, 03:08 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

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


Reply

Tags
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


All times are GMT -5. The time now is 09:25 AM.

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