Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Subject: closing ports on RH7.2

Subject: closing ports on RH7.2

2003-10-03       - By Michael Turner

 Back
Reply:     1     2     3     4     5     6  

>>2003 AD writes:

>> On my Red Hat box:
>>
>> How can i determine which ports are open? How can i close them.

>Pls. Try 'netstat' and 'fuser -n'. See the man pages
>for switches.

>RGDS

You can try-

Prompt>  netstat -an | grep -i listen

This will tell you all the ports that are listening(aka open).   Most can be
shutdown in the rc.d directory or the initd.d directory. There are some, the
Sun RPC processes, that I forget how to shut them down but it is possible. I
highly recommend shuting down anything you do not use as it is a portal
which leave your computer exposed. Anyway, I hope this helps, if you need
anything else, just ask.

Mike

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Frustrated with dial-up? Get high-speed for as low as $29.95/month
(depending on the local service providers in your area).  
https://broadband.msn.com