Windows Proxy Settings for Rotating Proxies
You can configure rotating proxies on Windows at the system level, for specific Windows components like WinHTTP, or within individual applications. The gateway is gw.rotatingproxy.cc, using port 7070 for HTTP/HTTPS and port 7071 for SOCKS5 connections.
- Set the system-wide proxy in Windows Settings for apps that respect it.
- Use netsh winhttp to proxy Windows services and command-line tools.
- Configure proxies per-application in Python, Node.js, and browsers.
- Build the full username with network, country, city, and session options.
Windows Proxy Settings Overview
Windows offers several layers for proxy configuration, each suitable for different tasks. The system proxy, set via the Settings app, affects many desktop applications and Microsoft Store apps. The legacy WinHTTP proxy, configured via netsh, is used by parts of the Windows operating system, some command-line utilities, and older software. For development and scraping, you will often bypass these system settings and configure the proxy directly within your code or tool, such as in Python requests, Playwright, or a browser profile. This guide covers all three approaches for using RotatingProxy's gateway.
Setting the System-Wide Proxy in Windows
Configure the system proxy in Windows 10 or 11 through the Settings application. Open Settings, go to Network & Internet, and click on Proxy. In the "Manual proxy setup" area, switch "Use a proxy server" to On. Enter gw.rotatingproxy.cc as the Address and 7070 as the Port for HTTP/HTTPS traffic. If you need SOCKS5, you cannot set it here; use an application-specific method or a tool like Proxifier. Leave the "Don't use the proxy server for local (intranet) addresses" box checked unless you have a specific reason to change it. Click Save. With this active, applications that respect the system proxy will send traffic through the gateway. You must still provide authentication; most apps that use the system proxy will prompt for credentials when needed. For automated scripts, you need to handle authentication within the application, as the system setting only provides the proxy address.
Using Netsh WinHTTP for System Services and CLI
The netsh winhttp command sets a proxy for components using the Windows HTTP Services (WinHTTP) API, which includes some built-in tools and services. Run Command Prompt or PowerShell with Administrator rights. To set a proxy with authentication, use the command: netsh winhttp set proxy gw.rotatingproxy.cc:7070. This tells WinHTTP to use our HTTP proxy port. To clear this setting later, run netsh winhttp reset proxy. A key limitation is that netsh winhttp does not support embedding username and password in the command for security reasons. Therefore, any tool using WinHTTP must handle proxy authentication itself, which many do not. This makes netsh more useful for scenarios where you use a local proxy client that handles authentication, rather than for direct connection to an authenticated gateway. For most scraping and data collection tasks, configuring the proxy within your programming language is more reliable.
Configuring Proxies in Python on Windows
In Python, you configure the proxy directly in your HTTP library, which gives you full control over authentication and targeting options. With the requests library, you supply a proxies dictionary. The username must include your proxy user login and all desired targeting options. Here is a concrete example for HTTP and HTTPS requests:
import requests
proxies = {
'http': 'http://USERNAME_net.res_cc.us:PASSWORD@gw.rotatingproxy.cc:7070',
'https': 'http://USERNAME_net.res_cc.us:PASSWORD@gw.rotatingproxy.cc:7070'
}
response = requests.get('https://httpbin.org/ip', proxies=proxies)
print(response.text)
For SOCKS5 support on port 7071, you need to install the requests[socks] package and use the socks5h scheme. The 'h' ensures DNS resolution happens through the proxy, preventing DNS leaks.
proxies = {
'http': 'socks5h://USERNAME_net.mob_cc.de:PASSWORD@gw.rotatingproxy.cc:7071',
'https': 'socks5h://USERNAME_net.mob_cc.de:PASSWORD@gw.rotatingproxy.cc:7071'
}
For asynchronous HTTP clients like aiohttp or httpx, check the current docs for the exact proxy parameter syntax, as it differs from requests.
Configuring Proxies in Node.js and Browsers
In Node.js, popular libraries like axios and node-fetch accept proxy configuration via an agent. For axios, you can use the https-proxy-agent or socks-proxy-agent packages. Here's an example for HTTP:
const axios = require('axios');
const HttpsProxyAgent = require('https-proxy-agent');
const agent = new HttpsProxyAgent('http://USERNAME:PASSWORD@gw.rotatingproxy.cc:7070');
const response = await axios.get('https://api.ipify.org', { httpsAgent: agent });
For browsers like Chrome or Firefox, you can set a proxy via command-line flags or use an extension like FoxyProxy. A common method for automation with Playwright or Puppeteer is to launch the browser with a proxy server argument. Playwright Python and Node.js have built-in methods for this, accepting the proxy URL with authentication. This is essential for tasks like price monitoring or rank tracking that require browser rendering.
Building the Username with Targeting Options
The power of the gateway comes from encoding your targeting choices in the username. The format is your proxy user's login, an underscore, then any options joined with underscores. Country targeting uses cc.us (lowercase ISO code). For the US, you can add a state with st.ca. City targeting uses tokens like city.chicago or city.new-york (spaces as hyphens). To maintain a sticky session, add a session ID with sid.abc123 (6-16 alphanumeric characters) and optionally a time-to-live with ttl.30 (1 to 120 minutes). An example username for a mobile proxy in Berlin with a 20-minute session is: zq4k8m2tva_net.mob_cc.de_city.berlin_sid.a7k2m9_ttl.20. Use our proxy URL builder to construct these strings visually.
Verifying the Exit IP and Location
After configuring your proxy, always verify that traffic is exiting from the expected location and that the IP is rotating or sticky as intended. A simple test uses curl from the Windows Command Prompt or PowerShell. For an HTTP proxy:
curl -x http://USERNAME_net.res_cc.fr:PASSWORD@gw.rotatingproxy.cc:7070 https://api.ipify.org
For a more detailed location check, use a service that returns JSON:
curl -x http://USERNAME_net.res_cc.us_st.ca:PASSWORD@gw.rotatingproxy.cc:7070 https://ipinfo.io/json
If you are using SOCKS5, ensure you have a SOCKS-compatible curl build or use a Python script. The response should show an IP from the targeted country (and state/city if specified). If you used a sid, run the command twice within the TTL window; the IP should remain the same. For checking geo-restricted content, this verification step is crucial.
Common Proxy Errors and Fixes on Windows
Error 407 (Proxy Authentication Required) means your credentials were not accepted. Double-check the username and password, ensuring the username includes the proxy user login and not your main account login. Verify there are no typos and that the proxy user is active and allowed to use the chosen network (e.g., not restricted to residential only while you're using net.mob). Timeouts can be caused by network firewall rules blocking outbound connections to ports 7070 or 7071. Ensure your Windows Firewall or corporate firewall allows TCP traffic to gw.rotatingproxy.cc on those ports. TLS/SSL errors sometimes occur if an application is not correctly tunneling HTTPS through the HTTP proxy. Remember, for HTTPS, you still connect to the proxy on port 7070 using HTTP, and it uses the CONNECT method. Using an https:// scheme in your proxy URL for the proxy connection itself is incorrect. For detailed troubleshooting, see our guides on error 407 and timeouts.
Running at Scale: Concurrency and Best Practices
When running many concurrent requests from Windows, stay within the account limit of 1,000 simultaneous connections. Distribute connections across multiple proxy users if you need logical separation or different monthly GB caps. Use connection pooling and keep-alive where possible to reduce overhead. Implement intelligent retry strategies with exponential backoff, especially when you encounter temporary network errors or target site rate limits. For large-scale web scraping, consider using a headless browser pool managed by a framework like Crawlee or Scrapy with middleware. Watch your traffic usage in the dashboard to prevent your balance from running out unexpectedly. If you are targeting a specific platform like Amazon or Google search, adjust your request rates and patterns to be polite and avoid blocks, as outlined in our guide on avoiding IP bans.
Switching Between Proxy Configurations
You may need to switch proxy settings on and off frequently. For the system proxy, you can toggle it manually in Settings or use a PowerShell script to modify the registry keys. For WinHTTP, use netsh winhttp reset proxy to clear it. The most flexible approach is to leave system and WinHTTP proxies unset and control everything at the application level. This allows you to run multiple scripts with different proxy configurations simultaneously, one script could use residential IPs for real estate data while another uses mobile IPs for mobile app testing from the same machine. Use environment variables or configuration files to store your proxy URLs for easy switching in your code.
When to Use HTTP Port 7070 vs SOCKS5 Port 7071
Choose the port based on your application's protocol support. Port 7070 supports HTTP and HTTPS (via CONNECT) proxy methods. It is widely supported by HTTP libraries, browsers, and most tools. Port 7071 supports SOCKS5, which can proxy any TCP traffic (not just HTTP), and handles DNS resolution through the proxy if you use the socks5h scheme. Choose SOCKS5 when your tool needs it or you are handling non-HTTP traffic. For almost all web scraping, data collection, and social media management tasks, the HTTP proxy on port 7070 is sufficient and often simpler. See SOCKS5 vs HTTP port for a full comparison.
Questions
Can I set up the proxy for just one specific application without affecting others?
Yes, this is the recommended approach for development and scraping. Configure the proxy directly within your Python script, Node.js code, or browser automation tool. This leaves the system and WinHTTP proxies untouched and gives you precise control over authentication and targeting.
Why does my script work without a proxy but fail with a 407 error when I add one?
A 407 error indicates the proxy gateway rejected your username and password. The most common cause is using your main account login instead of a dedicated proxy user's login. Create a proxy user in the dashboard and use its credentials. Also, ensure the username string correctly includes any targeting options like _net.res_cc.us.
How do I use a proxy with Git or other command-line tools on Windows?
Git can be configured to use an HTTP proxy. Set it with the command: git config --global http.proxy http://USERNAME:PASSWORD@gw.rotatingproxy.cc:7070. For other CLI tools like wget or curl, use their built-in proxy flags. Note that not all command-line tools support authenticated proxies.
My corporate network blocks outbound connections on port 7070. What can I do?
First, verify with your IT department if proxy traffic is allowed. If ports 7070 and 7071 are blocked, you may need to use the network from a different environment, such as a cloud server or a personal internet connection. The gateway does not offer alternative ports.
Can I use these proxies with Windows Subsystem for Linux (WSL)?
Yes. From within your WSL distribution, you can configure your tools to use the gateway at gw.rotatingproxy.cc. The configuration is the same as on Linux. Ensure the Windows host can reach the gateway, as WSL uses the host's network.
How do I check my current system proxy settings in Windows?
Open Settings > Network & Internet > Proxy. The manual proxy settings are displayed there. To check the WinHTTP proxy, open Command Prompt (as Admin) and run netsh winhttp show proxy. This will show the current proxy configured for WinHTTP components.
Start with one top-up, use any network
Create an account in a minute, add $40 or more, and the same balance pays for residential, mobile, datacenter and ISP traffic.