Azure Relay port settings

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

Hybrid Connections

Hybrid Connections uses WebSockets as the underlying transport mechanism, which uses HTTPS only.

WCF Relays

Binding Transport Security Port
BasicHttpRelayBinding Class (client) Yes HTTPS
" No
BasicHttpRelayBinding Class (service) Either 9351/HTTP
NetEventRelayBinding Class (client) Yes 9351/HTTPS
" No
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
NetOnewayRelayBinding Class (service) Either 9351/HTTP
WebHttpRelayBinding Class (client) Yes HTTPS
" No
WebHttpRelayBinding Class (service) Either 9351/HTTP
WS2007HttpRelayBinding Class (client) Yes HTTPS
" No
WS2007HttpRelayBinding Class (service) Either 9351/HTTP

Next steps

To learn more about Azure Relay, visit these links: