Installation and Upgrade > Advanced Deployment Considerations > Network Configuration > Firewalls > Web Tier > Database
  
Database
Another common location for a firewall is between the database server and the application server. For more information about the appropriate ports and protocols that must be allowed, see the documentation for the database software.