Edit

Share via


Use availability tests on an internal server behind a firewall

This article explains how to use Application Insights availability tests on an internal server that runs behind a firewall.

There are two possible solutions:

  • Configure your firewall to permit incoming requests from the IP addresses of our web test agents.

  • Write your own code to periodically test your internal server. Run the code as a background process on a test server behind your firewall. Your test process can send its results to Application Insights by using the TrackAvailability API in the core SDK package. Your test server must have outgoing access to the Application Insights ingestion endpoint. However, that condition poses a much smaller security risk than the alternative of permitting incoming requests. The results will appear in the availability web tests blade. The experience will be slightly simpler than what's available for tests that are created through the portal. Custom availability tests will also appear as availability results in Analytics, Search, and Metrics.

Next steps

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.