First off ssh to your server as root and type:

The configuration file is:

Scroll down to the “Common ingress (inbound) TCP ports section.