Skip to content

Commit b05f64a

Browse files
authored
Merge pull request #47438 from fasigpt/master
Update documentation on AMQP Port Requirements
2 parents e7e0db5 + 572dfc5 commit b05f64a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
-42.8 KB
Loading

articles/service-bus-messaging/service-bus-amqp-protocol-guide.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ Azure Service Bus currently uses exactly one session for each connection. The Se
7878

7979
Connections, channels, and sessions are ephemeral. If the underlying connection collapses, connections, TLS tunnel, SASL authorization context, and sessions must be reestablished.
8080

81+
### AMQP outbound port requirements
82+
83+
Clients that use AMQP connections over TCP require ports 5671 and 5672 to be opened in the local firewall. Along with these ports, it might be necessary to open additional ports if the [EnableLinkRedirect](https://docs.microsoft.com/dotnet/api/microsoft.servicebus.messaging.amqp.amqptransportsettings.enablelinkredirect?view=azure-dotnet) feature is enabled. `EnableLinkRedirect` is a new messaging feature that helps skip one-hop while receiving messages, thus helping to boost throughput. The client would start communicating directly with the back-end service over port range 104XX as shown in the following image.
84+
85+
![List of destination ports][4]
86+
87+
A .NET client would fail with a SocketException ("An attempt was made to access a socket in a way forbidden by its access permissions") if these ports are blocked by the firewall. The feature can be disabled by setting `EnableAmqpLinkRedirect=false` in the connectiong string, which forces the clients to communicate with the remote service over port 5671.
88+
89+
8190
### Links
8291

8392
AMQP transfers messages over links. A link is a communication path created over a session that enables transferring messages in one direction; the transfer status negotiation is over the link and bi-directional between the connected parties.

0 commit comments

Comments
 (0)