Ask a questionAsk a question
 

AnswerHello

  • Thursday, October 29, 2009 11:11 AMshri1234 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have firewall client installed in my host machine.But i am executing wcf applications in VPC.Then i'm getting Communication Exception:Unable to reach servicebus.windows.net via TCP (818, 828) or HTTP (80, 443).Please help me to resolve this exception.

Answers

  • Wednesday, November 04, 2009 12:10 PMMahesh Sabnis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

      I am just making my understanding clear. I think you have hosted WCF service in VPC and client is the Host or Base machine. I too tried this, where my base os was Windows VISTA and VPC OS was Win2K08.  What I did is I have con figured TCP-LOOP back adapter with my Base OS with static IP and the same adapter I assigned to VPC OS with other Static IP. Now When I was trying to call WCF service hosted by IIS on my VPC OS usiong IE on my Base OS it was working fine without any communication error. So I think, please check the connectivity and resource shairing between VPS OS and Base OS.


    Mahesh Sabnis 

All Replies

  • Thursday, October 29, 2009 12:25 PMtechnocrat_aspire Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    How are you calling the services. Through code or the browser. A bit more detail on the problem will help.
  • Thursday, October 29, 2009 1:16 PMshri1234 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Through code(Console Application).I was trying to execute Hybrid application lab in windows azure toolkit october ctp.
  • Monday, November 02, 2009 6:43 AMRiquel_DongModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Shri1234,

    Based on your post,  my understanding of your question is that one WCF service is run as one VPC(virtul PC). Then the WCF client can't invoke the service operations in this situation. If I misunderstood your question, please tell me.

    Please let us know whether you can use web browser( IE, firefox, etc) to visit WCF service. Whether you have configured the firewall settings in the computer which the WCF service is run on. 
    Best regards,
    Riquel
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Wednesday, November 04, 2009 10:57 AMRiquel_DongModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Please have a look at Working with NATs and Firewalls. This article discusses how firewall settings affects communication between service and client. You can try to open port to fix this issue. If you have any further issues, feel free to tell us.
    http://msdn.microsoft.com/en-us/library/ms731948.aspx

    Best regards,
    Riquel
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Wednesday, November 04, 2009 12:10 PMMahesh Sabnis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

      I am just making my understanding clear. I think you have hosted WCF service in VPC and client is the Host or Base machine. I too tried this, where my base os was Windows VISTA and VPC OS was Win2K08.  What I did is I have con figured TCP-LOOP back adapter with my Base OS with static IP and the same adapter I assigned to VPC OS with other Static IP. Now When I was trying to call WCF service hosted by IIS on my VPC OS usiong IE on my Base OS it was working fine without any communication error. So I think, please check the connectivity and resource shairing between VPS OS and Base OS.


    Mahesh Sabnis