Azure Relay port settings

The following table describes the required configuration for port values for Azure Relay.

Hybrid Connections

Hybrid Connections uses WebSockets on port 443 with TLS as the underlying transport mechanism, which uses HTTPS only.

WCF Relays

Binding Transport Security Port
BasicHttpRelayBinding Class (client) Yes HTTPS
" No HTTP
BasicHttpRelayBinding Class (service) Either 9351/HTTP
NetEventRelayBinding Class (client) Yes 9351/HTTPS
" No 9350/HTTP
NetEventRelayBinding Class (service) Either 9351/HTTP
NetTcpRelayBinding Class (client/service) Either 5671/9352/HTTP (9352/9353 if using hybrid)
NetOnewayRelayBinding Class (client) Yes 9351/HTTPS
" No 9350/HTTP
NetOnewayRelayBinding Class (service) Either 9351/HTTP
WebHttpRelayBinding Class (client) Yes HTTPS
" No HTTP
WebHttpRelayBinding Class (service) Either 9351/HTTP
WS2007HttpRelayBinding Class (client) Yes HTTPS
" No HTTP
WS2007HttpRelayBinding Class (service) Either 9351/HTTP

Next steps

To learn more about Azure Relay, visit these links: