Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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