Microsoft SQL Server Management Studio (SSMS) will default connect to port 1421 and there’s not obvious way to changing the port number. However it is possible by using a comma in the server name.
![Connect to a different port with SQL Server Management Studio](https://mlwhtpbnv3vw.i.optimole.com/w:477/h:315/q:mauto/ig:avif/http://spacetech.dk/wp-content/uploads/2019/08/image-1.png)
So in the example:
database-1.eu-west-1.rds.amazonaws.com,1521
First the server name, then a comma, and then the port number.
servername,portnumber