No. With Hamachi, you enter a VPN. That's a virtual network where both of you will get additional IP addresses that you can use to connect to each other and play. They're displayed in your client window, something like 4.xx.yy.zz. Use those to connect.