Skip to main content
Scraper API

How to Turn Off Proxy on Android Phone: Complete Configuration Guide [2026]

8 min read

How to Turn Off Proxy on Android Phone: A Technical Guide

Introduction

Configuring proxy servers on Android devices is a common practice for web scraping, privacy protection, or bypassing geo-restrictions. However, an active proxy can become a bottleneck for bandwidth or cause connection failures if the server goes offline. As we move into 2025, Android versions have evolved, varying the location of these settings between skins like Stock Android, Samsung One UI, and Xiaomi’s HyperOS.

This guide provides a comprehensive, technical breakdown of how to locate and disable proxy configurations across different Android network layers, including Wi-Fi, Mobile Data (APN), and application-level proxies.

---

Understanding Android Proxy Implementation

Before disabling a proxy, it is important to understand how Android handles traffic routing. Android supports two primary types of HTTP/HTTPS proxies:

1. System-Wide Proxies: Configured at the network interface level (Wi-Fi or Mobile). These affect all browser and app traffic that respects the system proxy settings. 2. App-Level Proxies: Managed by specific applications (like Firefox or Telegram) or VPN services that utilize the VpnService API to create a local tunnel.

Why disable it? If your web scraping script fails or your browser returns a "Connection Timed Out" error, the proxy server may be unreachable. Disabling it allows the device to perform a Direct Connection, routing packets straight to the ISP’s gateway.

---

Method 1: Disabling Proxy on Wi-Fi (Most Common)

Wi-Fi proxy settings are unique to every SSID (Service Set Identifier). You might have a proxy set for "Office_WiFi" but not for "Home_Network."

Steps for Modern Android (11+)

1. Navigate to Settings > Network & Internet > Internet. 2. Tap the gear icon next to the connected Wi-Fi network (or long-press the network name and select "Modify Network"). 3. Scroll down to find the Proxy section. Note: On some devices, you must first tap "Advanced" or "Expand" to see these options. 4. You will likely see it set to Manual. 5. Tap the Proxy menu and select None. 6. Tap Save or Connect.

Technical Note on PAC Files

Sometimes, the proxy option is set to Proxy Auto-Config (PAC). In this mode, the device downloads a script (a .pac file) that dynamically determines which traffic goes to the proxy. To disable this:

  • Switch the setting from "PAC" to "None".
  • This deletes the cached PAC script URL from the network configuration database.
  • ---

    Method 2: Disabling Proxy on Mobile Data (APN)

    Mobile proxies are configured via the Access Point Name (APN). Unlike Wi-Fi, this is not a toggle in the connection settings but a registry entry.

    Warning for Scrapers

    If you are scraping via 4G/5G and using a rotating proxy service, you likely have a custom APN. Disabling this will cut off your scraping traffic’s anonymity. Ensure you actually want to revert to your ISP's IP.

    Steps to Clear Mobile Proxy

    1. Go to Settings > Network & Internet > SIMs (or "Connections > Mobile Networks" on Samsung). 2. Select the active SIM card. 3. Tap Access Point Names. 4. You will see a list of APNs. The active one is usually selected with a dot or checkmark. Tap on it to edit. 5. Scroll down to the Proxy field (sometimes labeled as "HTTP Proxy"). 6. Clear the IP address (e.g., 192.168.1.1) from the field. 7. Scroll to the Port field and clear the port number (e.g., 8080). 8. Tap the three-dot menu in the top right and select Save.

    *Note: Some carriers lock the APN settings. If the "Save" button is greyed out, you may need to first create a *new* APN with the Proxy fields left blank and set it as active.*

    ---

    Method 3: Disabling Private DNS (Android 9+)

    While not a traditional HTTP proxy, Private DNS acts as a DNS-over-TLS (DoT) layer. While excellent for security, it can interfere with web scraping tools or specific corporate firewalls.

    1. Go to Settings > Network & Internet > Private DNS. 2. If it is set to "Private DNS provider hostname," your DNS traffic is being tunneled (often to Cloudflare or Google). 3. Select Off to stop the DNS tunneling. 4. *Alternatively*, scraping experts sometimes switch this to Automatic to allow the ISP's default DNS resolution, which is often faster for high-frequency requests.

    ---

    Method 4: Disabling App-Level Proxies and VPNs

    Many users confuse a Proxy with a VPN. If you have a VPN icon in your status bar, the system-wide routing tables are modified, regardless of your Wi-Fi proxy settings.

    1. VPN Apps

    If you are using an app like NordVPN or a custom scraping client:

  • Swipe down to access Quick Settings and toggle the VPN notification off.
  • Or go to Settings > Network & Internet > VPN. Disconnect the active profile.
  • 2. Browser-Specific Proxies

    Browsers like Firefox for Android allow you to set a proxy *inside* the app that does not affect the rest of the phone.

  • To disable in Firefox:

1. Open Firefox, type about:config in the address bar. 2. Search for network.proxy.type. 3. Set the value to 0 (which means "Use system proxy settings" or "No proxy" depending on system defaults). 4. Alternatively, check Settings > Network Settings > Manual Proxy Configuration and select "Off/No Proxy".

---

Python Automation: Detecting and Verifying Proxy Status

For advanced users and developers managing fleets of devices, you can use ADB (Android Debug Bridge) to verify proxy settings programmatically.

Checking Global Proxy Settings via ADB

If you have a device connected to a PC, you can query the settings database:

Check the global HTTP proxy setting (returns null if none set)

adb shell settings get global http_proxy

Check specifically for the hostname used in Wi-Fi proxy

adb shell settings get global global_http_proxy_host

Check the port

adb shell settings get global global_http_proxy_port

If these commands return a value (e.g., 10.0.0.1), a proxy is active. To clear it via code:

adb shell settings put global http_proxy :0

Verifying Connectivity in Python

Once you have disabled the proxy, you should verify that your IP address has reverted to your direct ISP IP. Here is a Python script often used in web scraping setups to verify the exit IP:

import requests

def check_proxy_status(): try: # Using a simple IP checker endpoint response = requests.get('https://api.ipify.org?format=json', timeout=5) ip_data = response.json() return ip_data except requests.ProxyError: return "Error: A proxy error occurred. The proxy might be down or misconfigured." except Exception as e: return f"Connection Error: {e}"

print(f"Current Public IP: {check_proxy_status()}")

If the IP returned matches your known direct IP, the proxy is successfully off.

---

Troubleshooting: Why is the Proxy Still On?

If you have followed the steps above and traffic is *still* being proxied, consider these edge cases:

1. Carrier-Grade NAT (CGNAT): Some mobile carriers use transparent proxies that you cannot turn off. This is common in Europe and Asia. You are technically "behind a proxy" operated by the ISP. 2. Enterprise Profiles: If the phone is owned by a company (Work Profile), the IT admin may enforce a proxy via MDM (Mobile Device Management) software. These settings are grayed out and cannot be disabled without admin privileges. 3. Proxy Auto-Config Script: If the PAC script is malicious or poorly written, it might route *all* traffic through the proxy even when set to "Direct." In this case, forgetting the Wi-Fi network and re-adding it is the only fix.

Summary

| Network Type | Path to Settings | Action Required | | :--- | :--- | :--- | | Wi-Fi | Settings > Network > Wi-Fi > Gear Icon | Set "Proxy" to None | | Mobile Data | Settings > Connections > Mobile Networks > APN | Clear Proxy and Port fields | | DNS | Settings > Private DNS | Set to Off | | VPN | Settings > Network > VPN | Disconnect |

Turning off your proxy on an Android phone restores your direct connection. For scraping experts, this is a critical step in isolating connection issues to determine if the target website is blocking your proxy IPs or if there is a fundamental network error.

Share: