How to check connection to Azure Services?

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




In hybrid computing, it is a common scenario to establish a connection from a some On-Premises machine to Azure Cloud. However, applications, which run On-Prem are blocked by firewalls. Unfortunately, while configuring your On-Prem application (service) You cannot be sure if your configuration of the service is invalid or firewal is blocking connection to remote Azure Service.

To be sure that connectivity is not an issue, you can use following PowerShell command let.
The example below shows how to test connectivity to Azure Service Bus.

Test-NetConnection -ComputerName -Port 9350

Following is the result if connection has been successfully established:

ComputerName           :
RemoteAddress          :
RemotePort             : 9350
InterfaceAlias         : Ethernet
SourceAddress          :
PingSucceeded          : False
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded       : True

if you get warning like “WARNING: Ping to failed -- Status: TimedOut” you can ignore it.

Following is a test for AMQP port:

Test-NetConnection -ComputerName -Port 5671

Here you can find the list of currently used Azure IP Addresses:

Posted Dec 19 2016, 07:39 AM by Damir Dobric is a .Net Community Blog powered by daenet GmbH.