LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection refused...... (https://www.linuxquestions.org/questions/linux-networking-3/connection-refused-418344/)

BobNutfield 02-22-2006 07:41 AM

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

tredegar 02-22-2006 09:07 AM

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!

BobNutfield 02-22-2006 09:29 AM

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

tredegar 02-22-2006 09:41 AM

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?

BobNutfield 02-22-2006 10:12 AM

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


All times are GMT -5. The time now is 12:38 PM.