Results 1 to 3 of 3

Thread: The connection was refused when attempting to contact localh

  1. #1
    Newbie
    Join Date
    Aug 2004
    Posts
    1

    The connection was refused when attempting to contact localh

    I am quite new to Linux, and just trying to do some simple things like get my Linux and windows boxes talking to each other.

    I have installed Samba 3.0.6 on Red Hat 9 on a Intel P3 box. I installed RH without the boxed version of Samba, removed the components it installed anyway (samba-client and samba-common), and then downloaded the source code from Samba.org. I went through the Samba instructions (http://us1.samba/org/samba/docs/using_samba/ch02.html) step by step. I have gone through the steps to enable SWAT. I've confirmed swat 901/tcp appears in the services file, created /etc/xinetd.d/swat and confirmed disable=no, ran /bin/kill -HUP -a xinetd to make it reread the config file. I created /usr/local/samba/lib/smb.conf, and created the tmp directory. Finally, I ran smbpasswd for the root account to add the account into the encrypted password database. I set the security level to No firewall, and Lokkit is not on this system, so I don't think it's a firewall issue. I don't see anything in any of the iptables files that would seem to be an issue (suggestions are welcome re. iptables - I'm not that familiar). I've added swat: 127.0.0.1 to host.allow and swat: ALL to hosts.deny. That's about everything from the documentation and scouring the world wide web for a solution to the "The connection was refused when attempting to contact localhost:901" error I'm getting when trying to open http://localhost:901 (or http://127.0.0.1:901) for the Samba configuration utility.

    Any suggestions would be greatly appreciated.

    Thank you.

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear budhead,
    Salam,

    Recheck your Configuration File If you have trouble then paste your Configuration file.

    Best Regards.
    Frrkh hmd

  3. #3
    Newbie
    Join Date
    Jan 2005
    Location
    Alexandria, VA
    Posts
    3
    Also alternatively you can do a "kill -HUP smbd" to have it reread the config.


    http://www.splarg.com

Similar Threads

  1. Contact Re-Design
    By kevingrady in forum Windows - General Topics
    Replies: 6
    Last Post: 04-28-2006, 12:30 PM
  2. vsftpd connection refused!!
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 16
    Last Post: 10-03-2003, 04:03 PM
  3. SWAT Connection to 127.0.0.1:901 refused
    By boxers in forum Linux - Hardware, Networking & Security
    Replies: 56
    Last Post: 09-29-2002, 01:39 PM
  4. Connection refused to port 25
    By asaf in forum Linux - General Topics
    Replies: 6
    Last Post: 07-12-2002, 09:51 PM
  5. cloverm, contact Sensei?
    By ndogg in forum General Chat
    Replies: 19
    Last Post: 12-23-2001, 11:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •