Solved

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

Posted on 2012-03-30
2
449 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 74

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 74

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now