Question
How do I open ports or whitelist IP addresses in the Digital Ocean Firewall?
Answer
cPanel does not directly control the firewall for your server. Digital Ocean provides what it calls "Cloud Firewalls" which are network-based, stateful firewalls provided for all of their droplets. They have some great documentation on managing those here.