Skip to main content

Test websites behind a firewall or VPN

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

If the local website that you want to test 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 website hosted behind a firewall or VPN, follow these steps:

  1. Ensure that your website is accessible 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 website 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 a 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