This section describes how to change the database port of a primary DB instance or a read replica. For primary/standby DB instances, changing the database port of the primary DB instance will cause the database port of the standby DB instance to also be changed accordingly.
When the database port of a DB instance is being changed, you cannot:
A MySQL database can use ports 2100 to 9500.