Custom port numbers in the connection string are currently ignored. Currently, the only effect they have is preventing DNS SRV lookups.