How to check connection to Azure Services?

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives


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 watchdog.servicebus.windows.net -Port 9350

Following is the result if connection has been successfully established:

ComputerName           : watchdog.servicebus.windows.net
RemoteAddress          : 70.37.104.240
RemotePort             : 9350
InterfaceAlias         : Ethernet
SourceAddress          : 10.1.0.4
PingSucceeded          : False
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded       : True

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

Following is a test for AMQP port:

Test-NetConnection -ComputerName watchdog.servicebus.windows.net -Port 5671

Here you can find the list of currently used Azure IP Addresses: https://www.microsoft.com/en-us/download/details.aspx?id=41653


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