LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-06-2005, 03:21 PM   #1
pressman57
Member
 
Registered: Feb 2005
Location: Escondido Ca.
Distribution: Arch
Posts: 118

Rep: Reputation: 29
Infernal omnipresent connection refused errors


Hi all. I'm having a problem getting any kind of
connectivity between a PC running Mandrake 10.1
and a PPC running YDL2.3 through a Linksys router.

I installed sshd, wu-ftp and webmin on the Mac and
have sucessfully started the services on the correct
ports, I think. netstat -lpn shows sshd running and
listening on port 22 and ftpd on 21.


But when I try to either ssh or ftp into the Mac from the PC
I get an error saying the connection was refused. According to
webmin I have no firewall configured, and have tried stopping
iptables to no avail. Nothing unusual has showed up in
/var/log/messages that I can see. I had the server installation
of YDL2.2 running on the same machine (before the hard-drive
crapped out) and ssh worked, so I don't think it's a hardware
issue. One suggestion I found suggested adding the line
sshd:ALL to /etc/hosts.allow but that didn't work either.

I really have searched the lists on this one and can't find
any solution. Any help would be greatly appreciated.

Greg Richardson
 
Old 02-10-2005, 08:04 AM   #2
yunus.raza
LQ Newbie
 
Registered: Jul 2004
Location: India
Posts: 16

Rep: Reputation: 0
hi,

there is no need to add any thing under hosts.allow file. However have a look at the hosts.deny file. What does it say.

And are you sure that : netstat -nlp shows that sshd, ftp listening on the respective port i.e. 22 and 21

Also have a look at the /etc/services file and make sure that the sshd and ftp lines are not commented anyway.

regards
 
Old 02-10-2005, 08:23 PM   #3
pressman57
Member
 
Registered: Feb 2005
Location: Escondido Ca.
Distribution: Arch
Posts: 118

Original Poster
Rep: Reputation: 29
Thanks for your reply,but I think I figured it out. I stopped iptables with webmin and the ports opened.
 
  


Reply



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
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
DHCP + DNS connection refused or timed out errors tnine9 Linux - Networking 1 08-08-2005 09:57 PM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
vsftpd Connection Refused Errors SForsgren Linux - General 2 04-26-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration