is there any nix program that can be included in the original install that closes different ports??
I ask this because I have been trying to configure my samba and I'm too lazy to manually edit samba.conf I need swat. So....every time I type in localhost:901 I get a little box saying that the connection was refuzed, this means the port is closed (right?), if indeed its closed, how can I open it up???
I was thinking maybe it was iptables, if anyone's got a command to let packets go thru 901......
I just did an nmap scan and 901 is closed, any ideas?
port closer
Started by
hacnslash
, Mar 31 2003 06:33 PM
5 replies to this topic
#1
Posted 31 March 2003 - 06:33 PM
#2
Posted 31 March 2003 - 07:26 PM
do netstat -a to see if that port is even listening. If not then there's your problem
.
If it is then it sounds like you'll have to tweak around with iptables.
You positive you have the samba daemon running?
If it is then it sounds like you'll have to tweak around with iptables.
You positive you have the samba daemon running?
#3
Posted 31 March 2003 - 08:19 PM
I dont think u have to have the daemon running to be able to open up swat....
and when I do a netstat -a I dont even see the port anywhere.
and when I do a netstat -a I dont even see the port anywhere.
#4
Posted 31 March 2003 - 08:28 PM
Not sure what swat is hac and I should clarify.
Do "netstat -an" instead so that the output will just show just the port number.
If the port you are looking for isn't listed there then no network app is communicating on that port.
Do "netstat -an" instead so that the output will just show just the port number.
If the port you are looking for isn't listed there then no network app is communicating on that port.
#5
Posted 31 March 2003 - 08:33 PM
http://us1.samba.org...man/swat.8.html
it should be clear what it is....
and when I do the netstat -an it still doesn't show up. The thing is that there should be no app using that port, it should be reserved for swat. The thing is I think that it is being blocked somehow, because whenever I try to connect to it it tells me the connection has been refused.
it should be clear what it is....
and when I do the netstat -an it still doesn't show up. The thing is that there should be no app using that port, it should be reserved for swat. The thing is I think that it is being blocked somehow, because whenever I try to connect to it it tells me the connection has been refused.
#6
Posted 31 March 2003 - 09:26 PM
ok, low tech solution.................
a line pertaining to swat was commented out in my /etc/services file.........oops shoulda seen that earlier.
a line pertaining to swat was commented out in my /etc/services file.........oops shoulda seen that earlier.
BinRev is hosted by the great people at Lunarpages!











