Mailinglist Archive: opensuse (4165 mails)
| < Previous | Next > |
Re: [SLE] 8.2, swat, and port 901
- From: David Krider <david@xxxxxxxxxxxxxxx>
- Date: 30 Apr 2003 14:17:05 -0500
- Message-id: <1051730225.14279.34.camel@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Wed, 2003-04-30 at 13:37, Jim Barnes wrote:
> After installing 8.2 on a new server, swat is not accessable from a client
> browser with the url http://192.168.0.12:901.
>
> An error occured while loading http://192.168.0.12:901:
> Connection to host 192.168.0.12 is broken
>
> Access is fine from localhost:901 on the server
>
> lsof -i returns:
> xinetd 2058 root 5u IPv4 4803 TCP *:swat (LISTEN)
>
> netstat -tupan returns:
> tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
> 2058/xinetd
>
> Firewall is not installed. Swat access worked "out of the box" with 8.1
> Am I missing something obvious?
Well, I don't know how obvious it is, but it's the difference between
192.168.0.12 and 127.0.0.1. Localhost is the latter, and that will work,
because that's permitted by /etc/xinetd.d/swat. If you want this to work
using your normal IP address, you'll need to add it to that file. Just
use a space to separate it, and if you don't want any other machines on
the network to access it, use "192.168.0.12/32". Otherwise, it'd be
"192.168.0.0/24". After changing, be sure to `/etc/init.d/xinetd
reload'.
Regards,
dk
--
David "Dunkirk" Krider, http://www.davidkrider.com
Acts 17:28, "For in Him we live, and move, and have our being."
Linux: Will you use the power for good... or for AWESOME?
> After installing 8.2 on a new server, swat is not accessable from a client
> browser with the url http://192.168.0.12:901.
>
> An error occured while loading http://192.168.0.12:901:
> Connection to host 192.168.0.12 is broken
>
> Access is fine from localhost:901 on the server
>
> lsof -i returns:
> xinetd 2058 root 5u IPv4 4803 TCP *:swat (LISTEN)
>
> netstat -tupan returns:
> tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
> 2058/xinetd
>
> Firewall is not installed. Swat access worked "out of the box" with 8.1
> Am I missing something obvious?
Well, I don't know how obvious it is, but it's the difference between
192.168.0.12 and 127.0.0.1. Localhost is the latter, and that will work,
because that's permitted by /etc/xinetd.d/swat. If you want this to work
using your normal IP address, you'll need to add it to that file. Just
use a space to separate it, and if you don't want any other machines on
the network to access it, use "192.168.0.12/32". Otherwise, it'd be
"192.168.0.0/24". After changing, be sure to `/etc/init.d/xinetd
reload'.
Regards,
dk
--
David "Dunkirk" Krider, http://www.davidkrider.com
Acts 17:28, "For in Him we live, and move, and have our being."
Linux: Will you use the power for good... or for AWESOME?
| < Previous | Next > |