Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57

Thread: SWAT Connection to 127.0.0.1:901 refused

  1. #31
    JimH
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    File looks fine.

    Try restarting xinetd.d. As root:

    /sbin/service xinetd restart

    Then open you browser and in the address bar

    http://127.0.0.1:901

    Post the error message.

    Jim H

  2. #32
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    got two OK's

  3. #33
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    got this in the browser:


    An error occured while loading http://127.0.0.1:901/:

    Connection to host 127.0.0.1 is broken

  4. #34
    JimH
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    After you restarted xinetd is swat listening now?

    Jim H

  5. #35
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    yes

    [wader@localhost wader]$ su
    Password:
    [root@localhost wader]# /sbin/service xinetd restart
    Stopping xinetd: [ OK ]
    Starting xinetd: [ OK ]
    [root@localhost wader]#
    [root@localhost wader]# # netstat -an | grep 901
    [root@localhost wader]# netstat -an | grep 901
    tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
    unix 3 [ ] STREAM CONNECTED 1901 /tmp/.ICE-unix/dcop1240-1032578054
    [root@localhost wader]#

  6. #36
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    havta it a nite JimH
    Thanx
    maybe chat tomorrow

    bye

  7. #37
    JimH
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    Is the loopback interface running?

    Does this show anything:

    /sbin/ifconfig lo

    Jim H


  8. #38
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    JimH,

    It shows this for the loopback:

    Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

  9. #39
    JimH
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    Hmm, something is strange.

    Try changes this line:

    only_from = localhost

    to:

    only_from = 127.0.0.1

    Don't forget to restart xinetd and try again.

    Jim H

  10. #40
    wader
    Guest

    Re:SWAT Connection to 127.0.0.1:901 refused

    Edited the file.
    Restarted xinetd.
    Got this:


    [wader@localhost wader]$ /sbin/ifconfig lo
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

    [wader@localhost wader]$
    [wader@localhost wader]$

    Same thing as before?


    Should I be as root?

Similar Threads

  1. Unable to configure the DNS in RHEL6-- Getting an error status - REFUSED
    By ranjithraj in forum Linux - General Topics
    Replies: 0
    Last Post: 08-28-2013, 02:11 PM
  2. Replies: 0
    Last Post: 12-06-2007, 04:52 PM
  3. The connection was refused when attempting to contact localh
    By budhead in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 01-04-2005, 08:02 PM
  4. vsftpd connection refused!!
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 16
    Last Post: 10-03-2003, 04:03 PM
  5. Connection refused to port 25
    By asaf in forum Linux - General Topics
    Replies: 6
    Last Post: 07-12-2002, 09:51 PM

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
  •