Visual Studio 2013 cant connect to sharepoint site, on same server
문제
i have a problem, sorry for my english. I have a virtual server where I have installed SharePoint 2013 Enterprise, SQL Server 2012 R2 and Visual Studio 2013. When opening visual studio 2013 and trying to create a sharepoint solution, this one displays me an error box, stating "Can not connect to the target site, this error can occur the specified site not being hosted on the local system." . And I can not find the solution, if you need additional information, I can add it in the question
해결책
You've got a hypen in your URL (spc-sharepoint**-**:8080). Remove that and try again.
EDIT:
You need to modify the hosts file at C:\Windows\System32\drivers\etc\hosts
with the line:
127.0.0.1 spc-sharepoint-
제휴하지 않습니다 sharepoint.stackexchange