I have the same problem; all settings are normal, but it connects and disconnects randomly, regardless of whether I use Hamachi or TeamViewer.
I checked everything in the link, but the problem persists. Are there any methods to normalize the connection?
The same thing happened to me today while finishing a game with Javdet.
It doesn't matter if I use TeamViewer or Hamachi (I even had to reinstall the latter).
But after about ten attempts, it finally connected, and only when I was the host.
Maybe it's solar flares :D
(с) Roger Zelazny