Daniel,
Assuming you have not changed any default port number or have put them back to how they should be.
Wordpress works best when you do a proper install ( 5 minute install ) documented on the wordpress site.
This will test the database connection you give it, and find the database you created before running the install, and give you useful error messages if anything is not right.
http://codex.wordpress.org/Installing_WordPress
Usually for a local install you would use 'localhost' and not a port number to locate the mysql server. The code will translate that and find the server automatically if it is on the default 3306.