What ports need to be open for the client to connect to the server?

The following ports are required for client to server communication:

2080
9875
9876

Optional ports needed on the server:

If using email - port 25
If using LDAP - 389

If using ODBC - default ODBC port.