Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-03-30
2
Medium Priority
?
484 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 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

704 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