Windows Azure Service Bus is a great mechanism to distribute messages across components of your own system or to different clients. When you want to use this service for enterprise projects you will meet the IT guys.
For them it is very important to control the ports that are used by applications. Because of one of the first’s question that they will ask you is:
What are the ports that are used by Service Bus?
When this question is asked you should be prepare to have the answer prepared. Looking over the documentation from MSDN, the following ports are used by Windows Azure Service Bus:
If you want to control the connection method, than you will need to set the ‘Mode’ property of the SystemConnectivity. The supported mode are:
For them it is very important to control the ports that are used by applications. Because of one of the first’s question that they will ask you is:
What are the ports that are used by Service Bus?
When this question is asked you should be prepare to have the answer prepared. Looking over the documentation from MSDN, the following ports are used by Windows Azure Service Bus:
- 80 – HTTP connection mode
- 443 – HTTPS connection mode
- 5671 – Advanced Message Queuing Protocol (AMQP)
- 5672 – AMQP
- 9350 – WCF with connection mode Auto or TCP using .NET SDK
- 9351 – WCF with connection mode Auto or TCP using .NET SDK
- 9352 – WCF with connection mode Auto or TCP using .NET SDK
- 9353 – WCF with connection mode Auto or TCP using .NET SDK
- 9354 – WCF with connection mode Auto or TCP using .NET SDK
If you want to control the connection method, than you will need to set the ‘Mode’ property of the SystemConnectivity. The supported mode are:
- AutoDetect
- Http
- Tcp
ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Http;
Enjoy!
Thank you so much!
ReplyDeleteSaved my day - got some strange Gateway 50200 not found. Forcing the ConnectivityMode.Http - did the trick.