Skip to main content
No Result Found

Test apps behind a firewall or VPN

Know how to test apps behind a firewall or VPN using Local Testing.

If the local app that you want to test interacts with a server that is running behind a firewall or VPN, then you need to perform some additional steps to ensure your network allows connections to the BrowserStack platform.

Prerequisites

Complete the steps in Set up Local Testing.

Set up BrowserStackLocal connection

To test your app that interacts with a server behind a firewall or VPN, follow these steps:

  1. Ensure that your app connects to the internal server on your local system.
  2. Allow Secure WebSocket (WSS) connections to the BrowserStack platform (*.browserstack.com) at port 443. To do this, contact your network/IT team.
    Verify whether your Local Testing setup is enabled. If not, proceed to the next step.
  3. If your server or VPN or firewall only accepts connections from certain IP or subnet addresses, enable the Force Local flag.

Launch a test session

After you configure the proxy, you can launch an App Live session and proceed with testing. If you already had a test session open, it reloads with the updated Local Testing settings.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle