LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-22-2006, 07:41 AM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Connection refused......


Hi Everybody,

Just a little problem with networking, which I am sure is a newbie type question.
In setting up my home network, I am getting the message:

Connection refused when trying to connect to...........

I suppose this is just a firewall issure between the two boxes I am trying to network (FC4 and Ubuntu). They ping each other just fine and the Ubuntu machine will connect to my Windows laptop with Samba. I really just want to share the printer connected to the Fedora machine but when I enter the URL for it on the Ubuntu machine adding a new network printer, I get:

destination location does not exist.

Is there a way around the firewall problem (leave it on but allow these two computers to communicate)? Is this in fact a firewall problem? I need the firewall because both boxes connect to the net.

Any help very much appreciated.

Bob
 
Old 02-22-2006, 09:07 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Hmmm, I ran into a similar problem when I first started networking linux machines. One minute everything was working nicely, then I installed something (nfs maybe) and then I kept getting "Connection refused". I eventually realised that Mandrake had decided I needed a firewall and installed it. Firewalls can be a pain.

My simple solution was to rely on my DSL modem /router's firewall to keep the internet out. Then I disabled the firewalls on my internal network and now everything communicates happily, and I have not seen any intrusion attempts, and the various port-scanning utilities available on the web say I am locked up tightly.

If your modem / router will not do this (be your firewall), then you'll have to start poking holes in your firewalls to allow communication between your internal network addresses, & I am not the one to help you here, as I took the easy option!
 
Old 02-22-2006, 09:29 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks, tredegar...

I have considered doing just that, disabling the firewall on all but the Windows laptop (can't get too crazy). I will look for a way to do that in a GUI because for some reason ipconfig command does not work on my FC4 machine as root.

Thanks for the reply

Bob
 
Old 02-22-2006, 09:41 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Disabling your firewall is not an option, unless you can rely on another (Eg your DSL modem / router) to maintain your security.
ipconfig is not a command. Do you mean ifconfig or iptables?
 
Old 02-22-2006, 10:12 AM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I can change the security levels in the GUI through KDE, and disable iptables from system services. Have tried both with the same error when trying to browse the network. Had it going for a while, but it just vanished. Not sure why. Sooner or later, like everything linux, I'll figure it out. (firewalls were reinstated after testing.)

Thank you for your help...

Bob
 
  


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
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
Connection refused elimedson Linux - Security 12 10-03-2004 05:09 PM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
Connection Refused Rv5 Linux - Networking 3 12-01-2003 10:48 PM

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

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

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