By default Redis is set to listen on port 6379
For a full list on the required firewall ports, review –
Clustering Ports:
To setup AWS firewall rules refer to – AWS Security Groups
To setup Azure firewall rules refer to – Azure Network Security Groups
To setup Google GCP firewall rules refer to – Creating GCP Firewalls