To connect to a remote CUBRID database, you need to open the necessary Inbound ports to allow external connections. You can connect to a CUBRID database using:
- CUBRID Tools (CUBRID Manager, Query Browser, Migration Toolkit)
- CUBRID Drivers (PHP, ADO.NET, JDBC, OLEDB, ODBC, Python, Ruby, Perl, CCI)
Depending on what you use to connect to your database, you can open:
- Ports 8001 and 8002, if you use CUBRID Tools.
- Ports from 30000 ~ 30100 and 33000 ~ 33100 if you connect using one of CUBRID Drivers.
More information about what these ports are used for in CUBRID, refer to General Security Configurations and CUBRID Port and iptables (firewall) Configuration.
Follow these links to see a step by step guide to configure your system firewall.