Portal for ArcGIS uses certain ports to communicate. Below is a description of the ports that you may need to allow on your firewall.
HTTP port 7080
Portal for ArcGIS communicates through port 7080, and you must ensure that your firewall allows HTTP communication through this port. When configuring the Web Adaptor for use with your portal, you'll reference the HTTP URL, for example, http://portal.domain.com:7080.
HTTPS port 7443
By default, Portal for ArcGIS uses the HTTPS port 7443 to encrypt communication that requires user credentials. When credentials are not required, HTTP is used. If you have configured your portal to use HTTPS for all communication, only HTTPS is used. For more information, see Configuring HTTPS.
Internally used ports 7005, 7099, 7199, and 7654
Ports 7005, 7099, 7199, and 7654 are used by Portal for ArcGIS for intermachine communications. You must ensure that your firewall allows local communication on these ports and they are not currently in use by another application.
Portal for ArcGIS may also require the use of ephemeral, sometimes called dynamic, ports for intermachine communications. The ephemeral ports are often a range (typically between 1024 and 5000 or between 49152 to 65535, though system administrators may customize this range). You must ensure that your firewall allows intermachine communication on these specific ports and the ephemeral port range.
Ports used when configuring a highly available portal
Ports 7220 and 7120 are used by an index service to keep users and item searches in sync between both portal machines.