Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Configure the Local desktop app

Connect the Local desktop app to BrowserStack with your access key, resolve connection errors caused by network restrictions, and test private websites.

To reach your private websites, connect the app with your access key, fix any connection errors, and configure the tunnel.

Connect with your access key

Connect the Local desktop app to BrowserStack with the access key from your account:

Open your account settings, scroll to the Automate section, and copy your access key.

Access key in the Automate section of the account settings page

In the Local desktop app, paste the key in the Access Key field on the Local Configuration page and click Submit.

After you submit the key, the app either connects to BrowserStack or shows a connection error.

Connected to BrowserStack

If the app connects to BrowserStack, the Local Console appears:

Local Console after the app connects to BrowserStack

Next, configure the Local tunnel for your network.

Unable to connect error

If network restrictions block the connection to BrowserStack, the app shows an Unable to connect error:

Unable to connect error in the Local desktop app

To resolve it, fix the connection error. To look up the code in the banner, see Local binary error codes.

Fix connection errors

The app can’t connect when your network restrictions block access to BrowserStack. The fix depends on whether your proxy uses SSL inspection.

Proxy without SSL inspection

If your proxy has SSL inspection turned on, ask your network administrator to bypass *.browserstack.com or turn off SSL inspection for BrowserStack Local. Then connect again.

On the configuration page, enter the proxy host, proxy port, and proxy credentials, if any. The app uses these details to connect to BrowserStack.

Proxy host, port, and credential fields on the Local configuration page

Proxy with SSL inspection

If your proxy has SSL inspection turned on, turn it off and connect again. For more help, contact BrowserStack Support..

Configure the Local tunnel for your network

After the app connects, the Local Console appears. Next, set up the tunnel so that BrowserStack devices can reach your localhost, dev, or staging websites. Update the tunnel configuration from the Tunnel Settings panel:

Tunnel Settings panel on the left of the Local Console

Network IP restrictions

If your website or network accepts traffic only from your network IP addresses, turn on Force Local. The app then routes all requests through your machine so that BrowserStack devices can reach your websites:

Turn on Force Local.

Force Local setting turned on in the Tunnel Settings panel

Click Update to apply the change.

Proxy host restrictions

If your website or network accepts traffic only from your proxy IP addresses, turn on Force Proxy. The app then routes all traffic through your proxy servers so that BrowserStack devices can reach your private websites:

Click Show More.

Show More option in the Tunnel Settings panel of the Local Console

Turn on Force Proxy.

Force Proxy setting turned on in the Tunnel Settings panel

Click Update to apply the change.

After you configure the tunnel, start a BrowserStack Live session and check whether your private website opens. If it still doesn’t open, raise a support ticket.

Stop the Local connection

After you finish testing, disconnect the app in one of the following ways:

In the Local Console, click Disconnect.

Disconnect button in the Local Console

If you reload the Local Console page at localhost:45454 in your browser after you disconnect, the app re-establishes your Local connection.

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