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:
- Ensure that your app connects to the internal server on your local system.
- Allow Secure WebSocket (WSS) connections to the BrowserStack platform (
*.browserstack.com
) at port443
. To do this, contact your network/IT team.
Verify whether your Local Testing setup is enabled. If not, proceed to the next step. - 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
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!