A proxy server address is two things: a host, such as p.shifter.io or an IP like 203.0.113.10, and a port, such as 443 or 8080. You need both whenever an app asks for proxy details, and you need to know where to look when a proxy is set but nobody remembers what it is. If you bought a proxy, for example a residential proxy plan, the address is in your provider’s dashboard. If you want to know what your device is already using, it is in the system or browser settings.
This guide covers both. For each system it shows the settings screen and a one-line command that prints the current proxy, which is faster when you are checking several machines or a server without a screen.
First: a proxy address is not your IP address
Two different numbers get mixed up here. The proxy address is the server your traffic is sent to first. Your public IP is the address websites see. With a proxy on, sites see the proxy’s exit IP, not the host you typed into your settings.
So if a site or support team asks “what is your proxy address”, they mean the host and port from your settings. If they ask “what IP do you have”, open ip-info.com and read it there.
If you bought a proxy: check the dashboard
Commercial proxies give you one host and port, plus a username and password. With Shifter:
| Product | Host | Port |
|---|---|---|
| Residential Proxies | p.shifter.io | 443 |
| ISP Proxies | isp.shifter.io | 443 |
The host and port stay the same for every location. Country, city and session are set in the username instead, which is why one address covers the whole network. Our guide on how to connect to a residential proxy explains each part of that username. For ISP proxies, each proxy on your plan has its own username, and every one of them connects through the same host and port.
Windows
Settings: open Settings > Network & internet > Proxy. Under Manual proxy setup, click Edit (or Set up) next to “Use a proxy server”. The address and port are shown there. If Use setup script is on under Automatic proxy setup, the proxy comes from a PAC file: see the PAC section below.
Command: this PowerShell line prints the same settings for the current user:
Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | Select-Object ProxyEnable, ProxyServer, AutoConfigURL
ProxyEnable of 1 means the proxy is on, ProxyServer holds host:port, and AutoConfigURL holds a PAC file address if one is set.
Windows has a second, separate proxy setting used by system services and some command-line tools, called WinHTTP. Check it with:
netsh winhttp show proxy
Direct access (no proxy server) means none is set. It is common for the two settings to differ, which explains why a browser goes through a proxy while a Windows service does not.
macOS
Settings: open System Settings > Network, select your connection (such as Wi-Fi) and click Details, then Proxies. Each switched-on type (Web proxy, Secure web proxy, SOCKS proxy) shows its server and port. Automatic proxy configuration shows a PAC file URL.
Command: in Terminal, run:
scutil --proxy
Look for HTTPProxy and HTTPPort, HTTPSProxy and HTTPSPort, and SOCKSProxy and SOCKSPort. A value of 1 on the matching Enable line means that type is on. ProxyAutoConfigURLString is the PAC file address. For one network service only, networksetup -getwebproxy Wi-Fi and networksetup -getsecurewebproxy Wi-Fi print the server, the port and whether it is enabled.
Linux
Most command-line tools on Linux read the proxy from environment variables:
env | grep -i proxy
This shows http_proxy, https_proxy, all_proxy and no_proxy in their lower- and upper-case forms. The value looks like http://host:port, sometimes with a username and password in front of the host.
On a GNOME desktop, the desktop proxy setting is separate:
gsettings get org.gnome.system.proxy mode
gsettings get org.gnome.system.proxy.http host
gsettings get org.gnome.system.proxy.http port
A mode of 'none' means no proxy, 'manual' means the host and port below apply, and 'auto' means a PAC file is used.
Developer tools with their own proxy
Some tools keep a proxy in their own config and ignore the system one. When a single tool behaves differently, check it directly:
- Git:
git config --get http.proxy - npm:
npm config get proxyandnpm config get https-proxy - pip:
pip config list
An empty answer (or null from npm) means the tool has no proxy of its own.
Browsers
Chrome and Edge have no proxy settings of their own on Windows and macOS. Settings > System > “Open your computer’s proxy settings” opens the system screens above, so the answer is there. The exceptions are a proxy extension, which shows its active proxy in its own menu, and a --proxy-server flag in the shortcut that launched the browser.
Firefox can have its own setting. Open Settings, search for “proxy” and click Settings under Network Settings. “Use system proxy settings” means the system screens apply; “Manual proxy configuration” shows the host and port for each type; “Automatic proxy configuration URL” shows a PAC file.
iPhone and Android
On a phone, the proxy is saved per Wi-Fi network. On iPhone, open Settings > Wi-Fi, tap the info button next to the network and look at Configure Proxy. On Android, open the network’s settings, then Advanced options > Proxy. Our guide to setting up a proxy on iPhone and Android has the exact steps for each phone, including Samsung’s menus.
When the answer is a PAC file
If any of the screens above shows a script or automatic configuration URL instead of a host, the proxy is chosen by a PAC file. Open that URL in a browser to read the file. Look for lines such as return "PROXY host:port": each one names a proxy, and the rules around it say which sites use it. Our guide to proxy PAC files explains how to read those rules.
“Automatically detect settings” on Windows, or auto-discovery elsewhere, means the network may hand your device a PAC file without showing its URL. If you see a proxy in use but no address anywhere, that is the usual cause.
Check what websites see
Once you know the address, check that traffic really goes through it. Open ip-info.com on the device or in the browser you checked. If it shows your own internet provider, the proxy is not in use for that app. If it shows another IP and location, the proxy is working, and that IP is the exit address websites see.
The bottom line
Every proxy setting comes down to a host and a port. For a proxy you bought, read them from the dashboard. For a device that is already set up, read them from the system settings or with one command: Get-ItemProperty and netsh winhttp show proxy on Windows, scutil --proxy on macOS, env and gsettings on Linux. If you find a script URL instead, open it and read the PROXY lines.