Usage of configurated mysql port with mysqldump

I needed to use a different port than the default one (3306).
It has been tested on my project with port 3323 and seems to work properly.