Frappe firewall ports

What ports are required to be open for ERPNext to work?
I see that there is port 3000 which is node open. Is this required?

Externally you need that web / SSL and socketio ports. The setup varies for production and developer modes. You can see your setup at sites/common_site_config.json