If it's a default instance I believe it will use the default port. If you have a default instance and using a different port, you often need to create alias to that instance and specify the port. Not sure if that's what you did to work around it or not but that's what I've done before.