Solved

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

Posted on 2012-03-30
2
474 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

627 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