Refer to Configuring Secure Applications Manager topic for details on what ports need to be opened when there is a firewall.