BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (2024)

You can find the proxy settings applicable to your machine and use them to set up Local Testing connections.

Introduction

A proxy server sits between your machine and your ISP. In most organizations, proxies are configured by network admins to filter and/or monitor inbound and outbound web traffic from employee computers.

In this article, we’ll show you how to view proxy settings (if your computer is behind a proxy server). You can then use the information to set up Local Testing connections with BrowserStack..

Find Proxy Settings in Windows

In most cases, browsers will use proxy settings that are set on the computer. However, each browser has a settings page to configure proxy settings as well.

There are two ways to find proxy settings in Windows: via the Settings app (Windows 10 only) or via the Control Panel.

    1. Using the Settings App (Windows 10) to find proxy settings

    2. Click on Start, then click on the gear icon (Settings) at the far left.

    3. In the Windows Settings menu, click on Network & Internet.

      BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (1)
    4. In the left pane, click on Proxy.

      BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (2)
    5. Here you have all the settings that are related to setting up a proxy in Windows. It’s split into two configurations: Automatic or Manual proxy setup.

    Using the configuration details to set up Local Testing connection:

    1. If “Use setup script“ is enabled, it means that you have configured PAC proxy on your system. You can obtain the path to PAC file from the “Script Address“ section.

      Note: To set up a Local Testing connection using the PAC file, you need to ensure that the PAC file is stored on your computer and path needs to an absolute path to that file.

    2. If “Manual proxy setup” is enabled, you can simply obtain Proxy Host and Port from the “Address“ and “Port“ section.

    For Local Testing to work correctly, you need to bypass the traffic for - bs-local.com - from your proxy. You can do this by adding an entry in the Proxy Exception> text field in the “Manual proxy setup” section.

  1. Using Control Panel (all Windows versions) to find proxy settings

    In any Windows version, you can find the proxy settings via the Control Panel on your computer.

    1. Click on Start and open the Control Panel. Then click on Internet Options.

      BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (3)
    2. In the Internet Options, go to Connections > LAN settings.

      BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (4)
    3. Here you have all the settings that are related to setting up a proxy in Windows. It’s basically split into two configurations: either Automatic configuration or Proxy Server setup.

      Using the configuration details to set up Local Testing connection:

    1. If “Use automatic configuration script“ iis checked, it means that you have configured PAC proxy in your system. You can obtain the path to PAC file from the “Script Address“ section.

      Note: To set up a Local Testing connection using the PAC file, you need to ensure that the PAC file is stored on your computer and path needs to an absolute path to that file.

    2. If “Use a proxy server for your LAN” is checked, you can obtain Proxy Host and Port from the “Address“ and “Port“ section.

    For Local Testing to work correctly, you need to bypass the traffic for - bs-local.com - from your proxy. You can do this by clicking the “Advanced“ button and adding an entry in the “Do not use proxy server for addresses beginning with:“ text field.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (5) BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (6)

Find Proxy Settings in OS X

  1. On OS X, you have to view the proxy settings in System Preferences. This is where most browsers check automatically. However, each browser has a settings page to configure proxy settings as well.

  2. Open System Preferences and click on Network.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (7)
  3. On the left-hand side, click on an active network connection. Note that you can have different proxy settings for different network connections. Click on the Advanced button on the bottom right.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (8)
  4. Click on the Proxies tab and you’ll see a list of proxy protocols you can configure.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (9)

Using the configuration details to set up Local Testing connection:

  1. If “Automatic Proxy Configuration“ is checked, it means that you have configured PAC proxy in your system. You can obtain the path to PAC file from the “Script Address“ section.

    Note: To set up a Local Testing connection using the PAC file, you need to ensure that the PAC file is stored on your computer and path needs to an absolute path to that file.

  2. If “Web Proxy (HTTP)” or “Secure Web Proxy (HTTPS)“ is checked, you can simply obtain Proxy Host, Port, Username, and Password.

For Local Testing to work correctly, you need to bypass the traffic for - bs-local.com - from your proxy. You can do this by adding an entry in the ”Bypass proxy settings for these Hosts & Domains” text field.

Connection duration and disconnection

In Linux, finding your proxy settings will depend on what distribution you are running. Mostly, the procedure would be similar for the various distributions.

  1. On Ubuntu, open on System Settings from the launcher and scroll down to Hardware. Click on Network.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (10)
  2. Click on Network Proxy, you can choose from Automatic or Manual.

    BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (11)

Using the configuration details to set up Local Testing connection:

  1. If the “Automatic“ option is selected, it means that you have configured PAC proxy in your system. You can obtain the path to PAC file from the “Configuration URL“ section.

    Note: To set up a Local Testing connection using the PAC file, you need to ensure that the PAC file is stored on your computer and path needs to an absolute path to that file.

  2. If the “Manual“ option is selected, you can simply obtain Proxy Host and Port from the appropriate section.

For Local Testing to work correctly, you need to bypass the traffic for - bs-local.com - from your proxy. You can do this by using the command-line interface as follows:

  1. To change proxy exceptions, use 'set' option with 'gsettings' command as follows.

    $ gsettings set org.gnome.system.proxy ignore-hosts "['localhost', 'bs-local.com', '::1']"
  2. If access to the above sections is restricted on your computer, you can seek help from your IT/Network Team to gather this information.

BrowserStack - Find Proxy Settings on Your Computer (for Local Testing parameters) (2024)
Top Articles
Latest Posts
Article information

Author: Golda Nolan II

Last Updated:

Views: 5819

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.