How do I Close or Disable a Port Without IPtables
Hi,
I need to disable or close a couple of ports on a RHEL 5.3 Redhat server, without using IPtables .IPtables is already switched off (disabled)on this system.Is there any alternative way of closing or disabling these ports either via command line or via changes in configuration files . Your help would be greatly appreciated. |
One way is in /etc/services (if that's what you're trying to do). Another is in /etc/inetd.conf (but inetd may not be on Redhat anymore?).
Take a look at this thread http://www.linuxquestions.org/questi...se-ports-1515/ for other suggestions. Hope this helps some. |
close a port
Under Linux and Unix operating systems, a port is only open if something is listening on that port. find the program listening on a port and stop that program, and you have closed that port.
What ports are you seeing open that you wish to close? |
Quote:
Code:
root@~#>netstat -tapln |
All times are GMT -5. The time now is 07:15 PM. |