My Problem

Today when I tried to deploy my sandbox solution I suddenly got the following error:

Remote SharePoint site connections are not supported.

The site I tried to connect to was http://spsite.mydev.local and this definitely is on my local machine.

Your Solution

Earlier today I updated DNS and removed the entry from my local host file.

I added the following in my host file: spsite.mydev.local

So it looks like Visual Studio doesn’t like connecting an IP address that isn’t