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

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

The following ports are required from the client to the sever:

2080, 9875, 9876
Optional ports needed on the server to the end point:

If using email - port 25
If using LDAP - 389
If using ODBC - default ODBC port.