I just recently moved my site to self hosting, and was able to set up jetpack perfectly. However I found out that the server I was using wasn't able to handle the load we needed, so I just transferred to another server (2 servers in 1 week, its crazy.)
Everything seems to be working just fine on the new server now (Hostgator), but for some reason I get the following error when I try to connect JetPack to WordPress.com
Invalid request, please go back and try again.
Error Code: invalid_request
Error Message: Mismatch in redirect_uri.
Does anyone know what might be happening? How to fix it?