LinuxQuestions.org
Review your favorite Linux distribution.
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-21-2001, 02:56 PM   #1
robs4linux
LQ Newbie
 
Registered: Feb 2001
Posts: 1

Rep: Reputation: 0
Unhappy


I'm trying to share files between two mandrake 7.2 systems, and I'm running into an error: connection refused

I tried also into telnet into one pc with the other, and I get the same "connection refused" error.

I can ping the two pcs with each other just fine.

I exported a directory with one pc, and when I goto mount that directory on the other pc, it throws the error! By the way, I'm using NFS.

I use this command to mount it:

mount 400mhz:/home/bobby/export /mnt/400mhz

Note that "400mhz" is the hostname of the pc that is exporting the directory.

I also put "ALL:ALL" in the /etc/hosts.allow file for the pc exporting the files.

Does anybody have any idea of what I'm doing wrong?

Thanks for any help you can provide!
-Robs

PS. I checked to see if /etc/inetd.conf contained a line for telnet... it does, and it's not commented. So I guess telnet should be setup ok!
 
Old 02-25-2001, 01:05 AM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Cool

Sounds like you have a firewall running on your machine that is rejecting access to your ports. Try typing iptables -L on a 2.4.x kernel or ipchains -L on a 2.2.x kernel, to see what rules are configured for your machine. (is the -L correct for ipchains?) Look in you startup script directory to see if any firewall scripts are executing. Grep for ipchains or iptables.

Without killing yourself with NFS see if you can access the NFS tcp port. telnet hostname 2049.

Usually firewalls do not block tcp or udp ports that high.


Hope this helps

Gary
 
Old 03-19-2002, 03:09 PM   #3
jupp
LQ Newbie
 
Registered: Mar 2002
Posts: 4

Rep: Reputation: 0
Also make sure that the version of mandrake you are using doesn't use xinetd. If it does, you need to open the telnet and nfs service on /etc/xinetd.conf and NOT /etc/inetd.conf. Make the necessary changes to xinetd.conf, restart xinetd and you should be ok.
If you are not familiar with xinetd read the man page, the format is very different from inetd

Joseph
 
  


Reply


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
apache -> connection refused error dimlight Linux - Networking 6 08-11-2010 02:56 PM
RNDC connection refused error cas1106 Linux - Newbie 1 04-23-2006 01:40 PM
pop3 connection refused error aw_wolfe Linux - Newbie 2 04-26-2005 06:12 PM
Connection refused error for port 25 jgnasser Linux - Networking 3 08-25-2004 08:09 AM
Connection refused error sweetyedwin Linux - Networking 1 07-15-2004 04:11 AM


All times are GMT -5. The time now is 09:30 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration