Find Proxy Settings on Your Computer (for Local Testing Parameters)
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.
-
Click on Start, then click on the gear icon (Settings) at the far left.
In the Windows Settings menu, click on Network & Internet.
In the left pane, click on Proxy.
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 Settings App (Windows 10) to find proxy settings
Using the configuration details to set up Local Testing connection:
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.
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.
-
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.
Click on Start and open the Control Panel. Then click on Internet Options.
In the Internet Options, go to Connections > LAN settings.
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.
- 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.
- If “Use a proxy server for your LAN” is checked, you can obtain Proxy Host and Port from the “Address“ and “Port“ section.
Using the configuration details to set up Local Testing connection:
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.
Find Proxy Settings in OS X
-
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.
-
Open System Preferences and click on Network.
-
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.
-
Click on the Proxies tab and you’ll see a list of proxy protocols you can configure.
Using the configuration details to set up Local Testing connection:
-
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.
-
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.
-
On Ubuntu, open on System Settings from the launcher and scroll down to Hardware. Click on Network.
-
Click on Network Proxy, you can choose from Automatic or Manual.
Using the configuration details to set up Local Testing connection:
-
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.
-
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:
-
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']"
-
If access to the above sections is restricted on your computer, you can seek help from your IT/Network Team to gather this information.