In Red Hat, you can either edit the contents of the /etc/rc.d/rc[0-6].d directories by hand or use the supplied "chkconfig" command. The scripts located in those dirs control which process get started/stopped at which run levels (for instance, run level 3 for multi-user, non-x or level 5 for multi-user, x-desktop).
The command "chkconfig --list | grep on" will show you which services are enabled for which run levels. To completely disable a service, run "chkconfig --del <name>". You can also specify certain levels via "chkconfig --level <levels> <name> [on|off]"
I know that's a lot of info, but "man chkconfig" should help if you get stuck/confused. You could also use ipchains/tables firewall rules to block outside connections to these ports, but if you don't need them, shut 'em off!