How to Find Proxy Address and Port for WiFi: Windows, Mac, & Mobile [2026]
Introduction
In the landscape of modern networking, proxies act as the intermediaries between your device and the vast expanse of the internet. Whether for content filtering, caching, or anonymization, knowing how to locate the specific Proxy Address (IP) and Port is a critical skill for network troubleshooting and configuration.
This guide provides a technical deep dive into retrieving these credentials across all major platforms, distinguishing between manual settings and automatic discovery protocols like WPAD (Web Proxy Auto-Discovery Protocol).
---
Understanding Proxy Components
Before diving into the settings, it is essential to understand what you are looking for:
- Proxy Address (IP or hostname): This is the numerical label (e.g.,
192.168.1.50) or the domain name (e.g.,proxy.corp.internal) of the server handling your requests. - Proxy Port: This is the communication endpoint (e.g.,
8080,3128, or1080) that the server is listening on. Traffic directed at the IP must be sent to this specific port to be accepted. - PAC File (Proxy Auto-Config): Often used instead of a static IP. This is a JavaScript file (
.dat) containing logic that dynamically tells the browser which proxy to use for a specific URL.
---
How to Find Proxy Settings on Windows (10/11)
Windows provides a centralized location for network configurations. However, depending on whether you are using a legacy setup or a modern enterprise configuration, the proxy might be set manually or automatically.
Method 1: Settings App (Standard GUI)
1. Open the Start Menu and type "Proxy Settings". 2. Select Proxy from the search results to open the Settings app. 3. Look at the Manual proxy setup section. * If the Use a proxy server toggle is On, the Address and Port fields will be populated immediately below it. Copy these values. * If the toggle is Off, check the Automatic proxy setup section. If "Automatically detect settings" or "Use setup script" is on, your device is using WPAD or a PAC file.
Method 2: Using Command Prompt (Advanced)
For advanced users, the Command Prompt can query the current proxy state using netsh.
Open CMD and run:
netsh winhttp show proxy
Output Interpretation:
Direct access = (no proxy server), your traffic is not being proxied.Proxy Server(s) : 192.168.x.x:8080, you have found your address and port.---
How to Find Proxy Settings on macOS
macOS stores proxy settings on a per-network basis. If you switch between WiFi networks, your proxy settings will change.
1. Click the Apple Icon > System Settings (or System Preferences on older versions). 2. Navigate to Network. 3. Select WiFi from the left sidebar and click Details (or "Advanced"). 4. Click the Proxies tab.
Here you will see a list of protocols (HTTP, HTTPS, SOCKS, FTP).
.pac file. You can open this URL in a browser to inspect the JavaScript code and find the proxy IP hardcoded within it.---
How to Find Proxy Settings on Android
Android hides these settings slightly deeper in the menu to prevent accidental changes.
1. Open Settings and go to Network & internet (or Connections). 2. Tap WiFi. 3. Tap the gear icon (settings) next to the connected network name. 4. Scroll down and tap Advanced (or "View More"). 5. Tap Proxy.
---
How to Find Proxy Settings on iOS (iPhone/iPad)
1. Open Settings > WiFi. 2. Tap the (i) information circle next to your connected network. 3. Scroll to the bottom and tap Configure Proxy (or "HTTP Proxy").
If set to Manual, the Server and Port will be visible. If set to Automatic, the URL field contains the link to the PAC file.
---
How to Find Proxy Settings on PS4 & PS5
Consoles often require manual proxy configuration for network debugging or to apply specific rules (like filtering).
1. Go to Settings > Network. 2. Select Set Up Internet Connection. 3. Choose WiFi (LAN or Wi-Fi). 4. Select Custom. 5. Proceed through the IP address settings until you reach the Proxy Server screen. 6. If Do Not Use is selected, there is no proxy active.
Note: The PS4/PS5 does not display a currently *active* proxy obtained via WPAD in a readable text format like a PC. You generally have to set it here manually to know for sure.
---
Decoding PAC Files: When "Auto" is Enabled
One of the most common issues is seeing "Automatic Proxy Configuration" enabled but not knowing the actual IP. The device downloads a script to decide this dynamically.
1. Copy the PAC File URL from your network settings. 2. Paste it into a web browser. It will download a file (often named proxy.pac or wpad.dat). 3. Open this file with a text editor (like Notepad or VS Code). 4. Look for lines containing PROXY.
Example PAC content:
if (shExpMatch(host, "*.google.com"))
return "PROXY 192.168.1.50:8080; DIRECT";
In this example, 192.168.1.50 is the address and 8080 is the port.
---
Technical Extraction with Python
For developers or security auditors, you can use Python to detect proxy settings programmatically. This is particularly useful when scraping data to ensure you are routing through the correct exit node.
The following script attempts to detect system proxy settings (works well on Windows/macOS) and prints the address and port if found.
import urllib.request
import os
def get_system_proxy(): # Retrieves proxy settings from the OS environment variables # Many systems store HTTP_PROXY and HTTPS_PROXY vars here proxies = urllib.request.getproxies()
if not proxies: print("[!] No system proxy detected in environment variables.") return None
print("[+] System Proxy Configuration Detected:") for protocol, address in proxies.items(): # Address usually comes in format "ip:port" print(f" Protocol: {protocol.upper()}") print(f" Address: {address}")
# Basic parsing to separate IP and Port if ":" in address: ip, port = address.split(":") print(f" -> IP: {ip}") print(f" -> Port: {port}") return proxies
if __name__ == "__main__": # Note: This script reads environment vars. # For Windows 'netsh' or macOS 'scutil', use platform-specific subprocess calls. get_system_proxy()
Advanced: Analyzing a PAC File with Python
If you have the URL of the PAC file, you can fetch it and parse it to find the explicit proxy server being used.
import requests
import re
Replace with your specific PAC URL
pac_url = "http://wpad.corp.internal/proxy.pac"
try: print(f"[*] Fetching PAC file from: {pac_url}") response = requests.get(pac_url) content = response.text
# Use Regex to find lines containing 'PROXY' # Format usually: return "PROXY 10.0.0.1:8080" matches = re.findall(r'PROXY\s+([\d\.]+):(\d+)', content)
if matches: for match in matches: ip, port = match print(f"[+] Found Proxy Server in PAC script:") print(f" IP: {ip}") print(f" Port: {port}") else: print("[-] No explicit proxy strings found in PAC file. It may use complex logic.")
except Exception as e: print(f"[!] Error fetching PAC file: {e}")
---
Comparison: Manual vs. Automatic Proxy
| Feature | Manual Proxy | Automatic Proxy (PAC/WPAD) | | :--- | :--- | :--- | | Configuration | User enters IP and Port manually. | Device downloads a script to find the proxy. | | Flexibility | Low. All traffic goes to one server. | High. Can route different sites to different proxies. | | Finding IP | Easy. Found directly in settings. | Hard. Requires downloading and reading the script. | | Failure Point | If the server is down, browsing fails. | If the script server is down, browsing fails. |
Troubleshooting Common Issues
1. I cannot find the proxy settings, but the internet is "filtered". This usually indicates a Transparent Proxy. In this setup, the network router forces all traffic through a proxy without the client device knowing. You cannot find the address in your WiFi settings because it is handled at the hardware level of your ISP or network administrator.
2. The settings show a Proxy, but I cannot connect. Ensure that the Port number is correct. A common mistake is entering 80 (HTTP) instead of 8080 (Custom Proxy) or confusing 3128 (Squid) ports. Additionally, verify if the proxy requires authentication (Username/Password), as this is usually requested via a popup popup, not stored in the main WiFi settings.
---
Conclusion
Finding your proxy address and port depends heavily on your operating system and how the network is administrated. For Windows and Mac, always check the network properties first. If Automatic settings are enabled, remember that the "address" is hidden inside a script (PAC file) that you must download and inspect. For Android and iOS, manual settings are accessible via the WiFi network properties, while consoles like the PS4/PS5 require you to re-enter configuration to view current active settings.