Samba Ver
Version 3.5.10-125.el6
added this to /etc/xinetd.d/swat
service swat
{
disable = no
port = 901
groups = yes
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/swat
only_from = 127.0.0.1
log_on_failure +=USERID
}
this is my etc/xinetd.conf file
defaults
{
log_type = SYSLOG daemon info
log_on_failure = HOST
log_on_success = PID HOST DURATION EXIT
cps = 50 10
instances = 50
per_source = 10
v6only = no
groups = yes
umask = 002
}
includedir /etc/xinetd.d
I ran netstat -tpan an got this
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:36838 0.0.0.0:* LISTEN 7455/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1714/rpcbind
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 7833/perl
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 7518/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 7787/master
tcp 1 1 192.168.1.195:57405 23.0.163.32:80 LAST_ACK -
tcp 1 0 192.168.1.195:57620 23.0.163.32:80 CLOSE_WAIT 8498/clock-applet
tcp 0 0 :::139 :::* LISTEN 10052/smbd
tcp 0 0 :::52427 :::* LISTEN 7455/rpc.statd
tcp 0 0 :::111 :::* LISTEN 1714/rpcbind
tcp 0 0 ::1:631 :::* LISTEN 7518/cupsd
tcp 0 0 :::445 :::* LISTEN 10052/smbd
when I run wget --server 127.0.0.1:901
--2012-10-25 11:53:39--
http://127.0.0.1:901/
Connecting to 127.0.0.1:901... failed: Connection refused.
Can someone please help me on this. I can give you what ever info you need.