It's not as easy as that. Just because you have open ports, doesn't mean they are vulnerable. You need to research what's running on those ports, their versions, check for any known vulnerabilities, and then attempt to exploit them. Simply pointing Metasploit at it generally won't work, and when it does you won't learn a thing.
Assume that everything I say is or could be a lie.