Solved

Web deployment task failed. (Could not connect to the remote computer ("localhost").

Posted on 2014-03-21
3
960 Views
Last Modified: 2014-03-23
First, thank you in advance for your help.

I have created an application within Visual Studio.  When I try to publish this application to my local machine I am getting the above error.  

The rest of the error message says, "On the remote computer make sure that Web Deploy is installed and that the required process ("Web Management Service") is started."

I checked, and the "Web Management Service" is started.  In addition and as a test, I disabled the Firewall on all profiles.  That didn't solve the problem either.

In another post it recommends that Web Deploy be uninstalled and then re-installed.  I tried that and it didn't solve the problem either.

I am running Windows 8.1.

What else should I try?

Thank you for your help.
0
Comment
Question by:MichaelDavidCarr
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39946840
"localhost" is always and only the computer that the software is actually running on.  If the software is on a remote computer, you can not connect to it with "localhost" on your computer.  If that's all it is, try using the name or IP address of the remote computer.
0
 

Author Closing Comment

by:MichaelDavidCarr
ID: 39948805
The software wasn't on a remote computer it was on the local machine.  So, your answer didn't solve the problem but you were certainly kind enough to at least offer a suggestion and begin a discussion.  After playing with it for a while I am now getting a different error which means I need to ask another question.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39948827
Glad to help and thanks for the points.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question