Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WCF testing - another PC can not connect to my Development Server

Posted on 2012-03-30
2
Medium Priority
?
488 Views
Last Modified: 2012-03-30
Experts,

I have developed some WCF services and am testing them.  To test i am running the services in visual studio 2010 included development server.

1.  They work fine using the built in test client.

2.  They work fine when accessed from a client application running in another instance of the vs2010 on my machine.

3.  They work fine when accessed from the above client application which was compiled and installed on my machine using a vs install package.

4.They DO NOT work fine when accessed from the above client application which was compiled and installed on another machine using a vs install package.

They give the following error:
code 10061: No connection could be made because the target machine actively refused it

I have verified that my machine's (which the services are running on) has the windows firewall disabled and that i can successfully ping my machine from the remote machine.

Any ideas?

Thanks
GL
0
Comment
Question by:gdinunzio
  • 2
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 37787598
This is because (as I read somewhere) the VS "web server" is hard-coded to use "localhost" for the host. You will either need to deploy the service to IIS, or try alternative to Cassini. If you can work some sort of port-forward for your system, then you can also accomplish debugging using the VS web server.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 37787612
...or you could self-host the service in a Console or WinForms application (forgot about that one!).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview

926 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