Error occurred in deployment step

Hello,
Error occurred in deployment step ‘Recycle IIS Application Pool’ – SharePoint 2013 and Visual studio 2012. How to solve it? Any idea would grateful to you.

Error List
Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site: http://servername/. Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.
