Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to enable 137-139 Port

Status
Not open for further replies.

pranesh11

Technical User
Dec 4, 2003
50
0
0
IN

Hi,

When i checked netstat -l 137-139 ports are not shoiwng in the listen list.. how do i make it listen? and how do i enable on redhat 8? i mean what command i hv to use.. plz advice

thanks
 
Had quick look at the ports, it is defined for NETBIOS. so I suspect it will be used by Samba. Do you have Samba installed and running?

To have a service "listen" on a port it needs to be defined somewhere, either as a standalone service started from the runlevels (start/stop script lives in /etc/rc.d/init.d) or from the inetd service. (services are defined/configured in /etc/xinetd.d/ directory)

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
use the iptables command as root. do this..

#iptables -I INPUT 1 -s 192.168.1.100 -m multiport -p udp --dports 137,138,139 -j ACCEPT
 
Try adding '-u' to netstat to have it list udp listeners.

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top