Problems with New super mario bros 2

When I try to play the cooperative the game is disconnected when I connect with my friend, perhaps this game cannot be played cooperatively.

The game requires very low latency iirc. You can try if you are on the same network (LAN), it might be low enough.