Things hard and not so hard.... RSS 2.0
# Wednesday, June 22, 2011
So you've got an on-premise WCF Service and you're going to expose the endpoint to the Cloud via ServiceBus.

I'm with a client excited about the prospect of Azure and using ServiceBus for connectivity for our local WCF Services.

Remember ServiceBus is touted as the firewall friend communications mechanism.

Should be pretty easy right? - just follow an article like -

If you are on a Secure Server - i.e. one that doesn't have default open slather access to the internet by default you will fall well short.
(nb: the Azure ServiceBus documentation is a little thin here also. ie no mention whatsoever)

You will get 'can't contact' and many others....So....

After much head banging Scotty sat down one rainy day and looked at the full conversation to establish a connection to the cloud via Service Bus

NB: XXXX is your ServiceBus endpoint name you configured in the Azure Management Portal earlier. This endpoint lives in the Azure Singapore Data Center

When ConnectionMode = TCP (Hybrid)
1.       CNAME lookup for > returns
2.       Connect to (port 9350)
3.       CNAME lookup for returns
4.       Connect to (port 443)
5.       CNAME lookup for returns
6.       Connect to (port 9351)
When ConnectionMode = Http
1.       CNAME lookup for returns
2.       Connect to (port 443)
3.       CNAME lookup for returns
4.       Connect to (port 80)
Also, when we lock this down to https endpoint step 4 above will be over 443
So the complete firewall rules to support both modes should be:
· (9350-9353)
· (9350-9353)
· (443)
· (443)
· (80, 443, 9350-9353)
· (80, 443, 9350-9353)
Note the difference between and the others,

Hopefully you won't get caught out at a client site asking for firewall changes, one at a time as you discover them.


Mick + big thanks Scotty for the details.

Wednesday, June 22, 2011 12:24:38 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [2] -
AppFabricServer | Azure | BizTalk | 2010 | BizTalk Adapter Pack | Tips
Saturday, August 13, 2011 1:08:43 PM (AUS Eastern Standard Time, UTC+10:00)
Gosh, I wish I would have had that inoframiton earlier!
Saturday, August 13, 2011 3:48:24 PM (AUS Eastern Standard Time, UTC+10:00)
You're telling me!!! The documentation isnt that flash in this area either.

Glad it helped you.


Comments are closed.
<October 2015>
 AppFabric CAT
AppFabric Windows Server Customer Advisory Team - New Blog.
[Feed] BizTalk 2006 - Windows SharePoint Services adapter
BizTalk 2006 Sharepoint adapter!!
 Breeze SharePoint 2010 Bootcamp
Breeze SharePoint 2010 Bootcamp
[Feed] BTS 2006 R2/EDI
[Feed] Chris Vidotto (MS BTS Legend)
Needs no intro....
 Mark Daunt
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2015
Sign In
Total Posts: 608
This Year: 1
This Month: 0
This Week: 0
Comments: 270
All Content © 2015, Breeze