.NET Framework Developer Center >
.NET Development Forums
>
Windows Communication Foundation
>
Hello
Hello
- 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
- 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- Marked As Answer byRiquel_DongModeratorThursday, November 05, 2009 8:26 AM
All Replies
- Hi,
How are you calling the services. Through code or the browser. A bit more detail on the problem will help. - Through code(Console Application).I was trying to execute Hybrid application lab in windows azure toolkit october ctp.
- 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. - 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. - 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- Marked As Answer byRiquel_DongModeratorThursday, November 05, 2009 8:26 AM


