Local Testing with Network Restrictions
Guide to using Local Testing when you’re behind proxy, firewall or a VPN.
Test mobile apps that retrieve assets from hosts behind one (or more) proxies
You might have one or more proxies in your network, and you might need to setup the Local testing connection accordingly depending on your restrictions.
If proxy is auto-detected
If your internet access is mediated by a proxy server, you can configure the BrowserStack Local application to connect to our servers via your proxy. Follow these steps to get this up and running:
Navigate to http://localhost:45454, and enter your key
In case the network configuration does not require a proxy or is auto-detected you should already be up and running.
If proxy is not auto-detected
If a proxy is a strict requirement and the app is unable to auto-detect settings, you can simply configure your proxy in our dashboard on the next screen. Follow the arrow as it points you to the proxy details section.
Depending on your network settings, the proxy can work with just a host and a port, or it might need a username and a password as well.
If you are using an MITM proxy
We classify proxies into two types – transparent and MITM proxies (depending on whether or not they inspect the packets passing through them).
If your BrowserStack Local connection doesn’t work even after all this setup has been done correctly, you might be using a MITM proxy – which you can indicate to the application using a simple toggle.
If you are using a PAC file
If you have a PAC file (Proxy auto-configuration file) to configure your settings without any authentication information, you can enter the location of the file in the PAC File option in the app dashboard.
Test mobile apps that retrieve assets from hosts behind a firewall or VPN
With Local Testing, you can test mobile apps serving content from internal servers that are behind a firewall and/or VPNs.
With Local Testing, you can test apps that retrieve data/content from servers behind firewalls and/or VPNs.
Start by making sure that your machine can access the website. Then, establish a Local Testing connection by following the steps listed in enabling Local Testing.
Additionally, you might need to whitelist Secure WebSocket (WSS) connections to
our platform (*.browserstack.com
) at port 443.
Next Steps
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!