The most reliable way is to use a port scanner like nmap. You can install nmap in a blink of an eye on a Red Hat system (Fedora included) with yum install nmap or rpm -ihv if you have the package or in many other ways lasting a little bit longer than the blink of an eye.