Firefox Proxy Settings for Rotating Proxies
Firefox proxy settings are configured manually in the browser's network settings, using our gateway host and port. You can use either the HTTP port for web traffic or the SOCKS5 port for full TCP support, with authentication and targeting options passed in the username.
- Configure proxies in Firefox's manual proxy settings under Network Settings.
- Use port 7070 for HTTP/HTTPS or 7071 for SOCKS5 with DNS resolution.
- Pass network, country, city, and session options in the proxy username.
- Verify the exit IP with a service like ipify or ipinfo.io.
Where Firefox Proxy Settings Are Located
The Firefox proxy settings are found in the browser's Network Settings panel, separate from the operating system's configuration. To open it, click the menu button (three horizontal lines) in the top right, select "Settings", then scroll down to the "Network Settings" section and click the "Settings..." button. This opens a dialog titled "Connection Settings" where you can choose to configure a manual proxy. This manual configuration directs Firefox's traffic through the specified proxy server without affecting other applications on your computer, which is ideal for tasks like web scraping or price monitoring where you need browser-level control.
Manual HTTP Proxy Setup on Port 7070
For HTTP and HTTPS traffic, configure Firefox to use our gateway on port 7070. Select the "Manual proxy configuration" radio button in the "Connection Settings" dialog. In the "HTTP Proxy" field, enter gw.rotatingproxy.cc and in the adjacent "Port" field, enter 7070. Check the box that says "Use this proxy server for all protocols". This tells Firefox to also route HTTPS (SSL) and FTP traffic through the same HTTP proxy endpoint, which supports the CONNECT method. Below these fields, you must enter your proxy authentication details. In the "No Proxy for" box, you can list local addresses like localhost, 127.0.0.1 to bypass the proxy for local development servers.
Setting Up SOCKS5 Proxy on Port 7071
Firefox has excellent native support for SOCKS5 proxies, which you can use by selecting port 7071. In the manual configuration, instead of filling the "HTTP Proxy" field, locate the "SOCKS Host" field. Enter gw.rotatingproxy.cc and set the port to 7071. Select "SOCKS v5" from the dropdown menu next to it. The critical step for SOCKS5 is to enable remote DNS resolution: check the box labeled "Proxy DNS when using SOCKS v5". This ensures all DNS queries are sent through the SOCKS5 proxy, which is essential for accurate geo-targeting; without it, DNS resolution may leak via your local ISP and cause the target site to see a mismatched location. You still need to provide authentication in the same dialog.
Entering Proxy Authentication in Firefox
Firefox requires proxy authentication credentials to be entered directly in the connection settings dialog. Below the proxy host and port fields, you will find a checkbox labeled "Use this proxy server for all protocols". Right below that, there is a text field for "HTTP Proxy" username and password, and another for "SOCKS Host". Enter your proxy user's login and password in the respective fields for the protocol you are using. The username must include any targeting and session options, constructed following our username options syntax. For example, to use a rotating residential proxy targeting Germany, you would enter a username like USERNAME_net.res_cc.de and your password. If you need a sticky session, append _sid.yoursession_ttl.30 to the username.
How to Pass Targeting and Session Options
All targeting and session control is done by modifying the proxy username, not by changing the host or port. The basic format is your proxy user's login, an underscore, then a series of options each joined by an underscore: key.value. To select a network, use net.res (residential), net.mob (mobile), net.dc (datacenter), or net.isp (ISP). For country targeting, add cc.us (using the lowercase ISO code). For US states, you must also have cc.us and can add st.ca for California. City targeting uses tokens like city.chicago or city.new-york. To maintain the same IP, include a session ID with sid.abc123 and a time-to-live with ttl.20 (minutes). An example for a mobile proxy in London with a 15-minute session is USERNAME_net.mob_cc.gb_city.london_sid.k3m9q2_ttl.15.
Verifying Your Exit IP and Location
After applying the Firefox proxy settings, you must verify that your traffic is exiting from the expected IP and location. Open a new tab and navigate to a service like https://api.ipify.org which returns just your IP address in plain text, or https://ipinfo.io/json which provides a JSON object with location details. Compare the returned IP country and city against your targeting options. If you used SOCKS5 without the "Proxy DNS" option, the site may load but the IP might be wrong because DNS leaked; always enable that checkbox. For more tools, see our guide on checking the exit IP and location. This verification step is crucial before starting any data collection, such as for rank tracking or checking geo-restricted content.
Fixing Common Proxy Error 407
A 407 error means "Proxy Authentication Required" and indicates Firefox did not send valid credentials. First, double-check that the username and password entered in the Firefox proxy settings match exactly the proxy user's login and password from your dashboard, including any appended options. Ensure there are no trailing spaces. The username field must contain the full string with underscores, like USERNAME_net.res_cc.us. If you copied and pasted, ensure no invisible characters were introduced. Also, confirm the proxy user is not paused or has not reached its monthly GB cap (if set). For a deeper dive, read our dedicated page on proxy error 407.
Resolving Timeouts and Slow Connections
Timeouts in Firefox when using a proxy can stem from several areas. First, verify your internet connection is stable. Timeouts can occur if the target website is slow or blocking the proxy IP; try accessing a different, simple site like http://httpbin.org/ip. If timeouts persist, they may be due to high latency to the chosen proxy location; try targeting a country closer to your own or the target server. Another common cause is exceeding your account's concurrency limit; while high (1,000 connections), having hundreds of tabs open simultaneously could trigger this. Also, review your own scraper or browser's timeout settings, Firefox and tools like Selenium have their own timeouts that may need adjustment. For systematic approaches, see our guide on proxy timeouts and slow responses.
Handling TLS and Certificate Warnings
When using the HTTP proxy (port 7070) for HTTPS sites, Firefox establishes a TLS tunnel via the CONNECT method. Normally, you should not see certificate warnings related to the proxy itself. If you encounter a "Your connection is not secure" warning, check that the warning is about the target site's certificate (e.g., expired, hostname mismatch) and not an interception certificate. Our proxy does not perform TLS interception; it merely passes the encrypted traffic through. Therefore, such warnings originate from the target server. You can proceed at your own discretion, but for automated tasks, your code may need to handle such certificate verification errors. Using the SOCKS5 proxy (port 7071) presents a similar TLS handshake directly with the target, so the same principles apply.
Tips for Running Firefox Proxies at Scale
When using Firefox proxy settings for large-scale data collection, manage resources wisely. First, control concurrency: instead of opening hundreds of browser windows, use a controlled pool of browser instances, perhaps managed by a tool like Playwright or Selenium. Implement intelligent session management: use different session IDs (sid.) for different tasks or user flows to keep IPs consistent where needed, and let them rotate when not. Monitor your traffic consumption in the dashboard to stay within budget and understand patterns; use the traffic calculator for estimates. For very high-volume projects, consider splitting traffic across multiple proxy users for better tracking. Always follow web scraping best practices, respect robots.txt, and implement polite delays to avoid overloading target sites, which is especially important when using Google search proxies or Instagram proxies.
Switching Between Proxy Configurations Quickly
Manually changing Firefox proxy settings for different tasks is inefficient. For frequent switching, consider using a browser extension like FoxyProxy, which allows you to define multiple proxy profiles and switch them with a click. We have a separate guide for FoxyProxy setup with our service. Alternatively, for automation, you can launch Firefox with proxy settings via command-line arguments or desired capabilities in Selenium/Playwright. This lets you programmatically start browsers with specific proxy configurations, which is essential for tasks like market research across regions or ad verification. Remember to close browsers completely between sessions if you are changing the session ID in the username to ensure a fresh connection and IP rotation.
Ensuring DNS Resolution Goes Through the Proxy
DNS leaks can break geo-targeting and reveal your origin. In Firefox, when using the HTTP proxy (port 7070), DNS for hostnames is resolved by the proxy automatically, this is a standard behavior of HTTP proxy CONNECT. When using the SOCKS5 proxy (port 7071), you must explicitly check "Proxy DNS when using SOCKS v5" in the connection settings. If this box is unchecked, Firefox will resolve domain names using your system's DNS, potentially leaking your location and causing the target site to see a different geographic origin than the proxy IP. Always verify with a DNS leak test site after configuration. For a technical explanation, read about DNS resolution through the proxy.
Questions
Can I use Firefox for automated scraping with these proxy settings?
Yes, but manual browser configuration is not ideal for automation. For automated scraping, it's better to control Firefox programmatically using Selenium, Playwright, or Puppeteer, and pass the proxy settings as part of the browser launch arguments. This allows for dynamic username generation and session management. See our Selenium proxy and Playwright Python guides.
Why does my IP sometimes change even with a session ID set?
A session IP can change before the TTL expires if the proxy device goes offline, there's a network issue, or your local connection drops and reconnects. The system will try to assign a new IP from the same targeted location. For maximum stability, ensure your local network is reliable and consider using shorter TTL values if the task allows. More details are in why my session IP changed early.
Is there a way to test the proxy connection without opening a website?
You can use command-line tools like <code>curl</code> with the proxy settings to make a quick test request. For example, <code>curl -x http://USERNAME:PASSWORD@gw.rotatingproxy.cc:7070 https://api.ipify.org</code>. This bypasses Firefox and tests the proxy credentials and connectivity directly. Our curl proxy guide has more examples.
Can I use different proxy networks (like mobile and residential) in different Firefox tabs?
Not with a single manual configuration in Firefox's settings, as it applies globally to all tabs. To use different networks simultaneously, you need separate Firefox profiles or processes, each with its own proxy configuration. Automation frameworks are better suited for this, allowing you to launch isolated browser instances with different proxy usernames.
What should I do if Firefox says "The proxy server is refusing connections"?
This error typically means the proxy gateway did not accept the connection. Check that you are using the correct host (<code>gw.rotatingproxy.cc</code>) and port (7070 or 7071). Ensure your account has a positive balance and the proxy user is not paused. Make sure your firewall or antivirus software isn't blocking outgoing connections to those ports.
How do I save bandwidth when using proxies with Firefox?
Enable data-saving features in Firefox like caching and disable automatic media playback. For scraping, write your automation to only download necessary resources (e.g., block images, CSS, fonts via browser settings or Playwright/Selenium routes). Compressing responses and using efficient data formats can also reduce traffic. Read our guide on save bandwidth with compression and caching.
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.