FoxyProxy setup for rotating proxies

This guide shows how to configure the FoxyProxy browser extension to use RotatingProxy's gateway. You will set up HTTP and SOCKS5 connections, embed targeting options in the username, and verify your exit IP.

Key points
  • Use port 7070 for HTTP/HTTPS and port 7071 for SOCKS5 with the gateway host.
  • Build your proxy username with options like net.res, cc.us, and sid.
  • Verify the working connection with an IP check site like ipify.org.
  • Create multiple patterns to switch between proxy networks or locations.

FoxyProxy setup overview

FoxyProxy is a browser extension for Firefox and Chrome that lets you manage proxy configurations and switch them based on URL patterns. For RotatingProxy, you configure it to send traffic to our gateway at gw.rotatingproxy.cc on port 7070 (HTTP/HTTPS) or 7071 (SOCKS5). The core of the setup is constructing the correct username, which carries your network choice, location targeting, and session instructions. This guide walks through each step, from basic configuration to advanced pattern switching, which is useful for tasks like price monitoring across regions or rank tracking in different cities.

Where to find proxy settings in FoxyProxy

After installing FoxyProxy, click its icon in your browser toolbar and select "Options" to open the management page. The main interface has tabs for "Proxies" and "Patterns". You create a new proxy entry under the "Proxies" tab, defining the host, port, and authentication. The "Patterns" tab is where you assign URLs to use that proxy, allowing you to, for example, send all traffic to a specific site through a proxy while browsing other sites directly. This pattern system is key for efficient web scraping or social media management where you only need proxies for certain domains.

HTTP and HTTPS setup on port 7070

For standard web browsing and most tools that speak HTTP, use port 7070. In FoxyProxy's proxy creation form, set the proxy type to "HTTP" or "HTTPS". Enter gw.rotatingproxy.cc as the host and 7070 as the port. The critical part is the username and password fields. Your username is not just your proxy user login; you append options to it with underscores. For a basic residential proxy in the United States, your username would look like USERNAME_net.res_cc.us with your actual proxy user login and password. The password is the one you assigned to that proxy user in your dashboard. This setup works for both HTTP and HTTPS websites because the gateway supports the CONNECT method for TLS.

SOCKS5 setup on port 7071

If your application or browser better supports SOCKS5, use port 7071. In FoxyProxy, create a new proxy and set the type to "SOCKS5". The host remains gw.rotatingproxy.cc and the port becomes 7071. Authentication works the same way: place your constructed username in the username field and the proxy user's password in the password field. For example, to use a mobile proxy from Germany, your username could be USERNAME_net.mob_cc.de. SOCKS5 can handle more traffic types, but for web browsing, both ports work equally well.

Building the username for targeting and sessions

All targeting and session control is done through the username string. Start with your proxy user's login, then add options separated by underscores. The key options are net.res, net.mob, net.dc, or net.isp to choose the network. Add cc.xx with a lowercase ISO country code like cc.fr for France. For US states, use cc.us plus st.ca for California. City targeting uses tokens like city.paris (spaces become hyphens, e.g., city.new-york). To keep the same IP for a period, add a session ID with sid.abc123 and a time-to-live with ttl.30 (minutes). A full example for a sticky session in London on a residential network is USERNAME_net.res_cc.gb_city.london_sid.my9k3q_ttl.45. Learn more about how to keep the same IP.

Verifying your exit IP and location

After saving your proxy and setting a pattern (like "*.example.com" or a broader pattern for testing), activate it. To confirm the proxy is working, visit an IP check site like https://api.ipify.org or https://ipinfo.io/json. The IP shown should match the network and location you targeted. If you used cc.de, the IP should geolocate to Germany. This verification step is crucial before starting any data collection, such as for checking geo-restricted content or Google Maps data collection. If the IP is wrong, double-check your username syntax and ensure your proxy user is allowed on the chosen network.

Common errors and how to fix them

If you see a 407 Proxy Authentication Required error, it means the gateway did not accept your login details. Check that your username string is correctly formatted with no typos and that your password matches the proxy user's password. Timeouts can occur if the target site is slow or if your concurrency is very high; ensure you stay within the account concurrency limit of 1,000 connections. If you encounter TLS errors in the browser, ensure you're using port 7070 for HTTPS traffic and that your system clock is correct. For persistent 403 errors from the target site, the IP may be temporarily blocked; consider adding delays or switching locations. More troubleshooting is available in our help pages for error 407 and proxy timeouts.

Creating patterns to switch proxies automatically

The power of FoxyProxy lies in patterns. You can create multiple proxy configurations, one for residential US IPs, another for mobile German IPs, a third for datacenter IPs in Japan, and then assign URL patterns to each. For instance, set a pattern for "*://amazon.com/*" to use a US residential proxy, and a pattern for "*://google.de/*" to use a German mobile proxy. This allows a single browser session to automatically use the correct proxy for different tasks, ideal for market research across multiple regions or managing Facebook accounts from different locations. You can enable and disable these patterns with a click from the toolbar icon.

Tips for running at scale with FoxyProxy

For larger projects, create separate proxy users in your dashboard for different use cases, each with its own login and optional monthly GB cap. This helps with tracking and measuring traffic. In FoxyProxy, you can export and import your proxy and pattern lists as JSON for backup or replication across team members. Be mindful of browser resource limits; for very high-volume crawling, consider a dedicated scraping tool like Playwright or Scrapy. Use sticky sessions (sid) when you need to maintain login state or a consistent IP for a short task, but let IPs rotate between tasks to distribute load and avoid overusing a single IP. This approach is beneficial for travel fare aggregation where sessions matter. Always respect rate limits and robots.txt directives.

Connecting FoxyProxy to other tools

While FoxyProxy controls your browser traffic, you might also need proxies for command-line tools or automated scripts. The same gateway credentials work for tools like curl and wget. For programming, refer to our integration guides for Python requests, axios in Node.js, or C# HttpClient. If you are using browser automation profiles via tools like Multilogin or GoLogin, you can often set the proxy within those tools directly, using the same username construction method described here. This creates a consistent proxy strategy across your entire data collection stack.

Next steps after setup

Once your FoxyProxy setup is working, explore the different proxy networks. Residential IPs are good for general web access, mobile IPs are useful for TikTok or Instagram, datacenter IPs offer speed for financial data collection, and ISP proxies blend speed with higher trust for Amazon or Walmart. Monitor your usage in the dashboard to understand your traffic patterns and take advantage of automatic monthly volume rates. For any configuration questions, the proxy URL builder tool can help construct your username string correctly.

Questions

Can I use FoxyProxy to switch between different RotatingProxy networks on the fly?

Yes, create separate proxy entries in FoxyProxy for each network (e.g., one with _net.res, another with _net.mob). Then, use URL patterns or the quick-switch menu in the toolbar icon to activate the one you need for a specific site or task.

Why does my IP sometimes change even when I set a session ID (sid)?

The IP will change if the session expires (after the ttl minutes) or if the underlying mobile or residential device goes offline. The system will try to assign a new IP from the same targeted location if that happens. For more stability, consider ISP or datacenter networks.

How do I target a city that's not in the listed city tokens?

Our city list includes major cities globally. If your desired city isn't listed, you can target the country instead. The system will assign IPs from various locations within that country. Check the city not listed help page for more details.

Is it possible to use both HTTP and SOCKS5 ports at the same time in FoxyProxy?

FoxyProxy can manage multiple proxy configurations, but a browser tab can only use one proxy at a time based on the active pattern. You can have one pattern use the HTTP port (7070) and another pattern use the SOCKS5 port (7071), and the browser will switch accordingly.

What should I do if FoxyProxy seems to be working but the target site blocks me?

This is likely due to the IP's reputation or the site's anti-bot measures. Try switching to a different network (e.g., from datacenter to residential), add longer delays between requests, and ensure your browser fingerprint looks natural. Our guide on avoiding IP bans has detailed advice.

Can I use FoxyProxy with RotatingProxy for watching geo-restricted video content?

Our proxies are designed for data collection, testing, and research, like localization testing or app testing. They are not optimized for streaming high-bandwidth video, and such use may violate the target site's terms of service.

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.