The proxy server is refusing connections
Firefox cannot reach the gateway. Check the host and the port in Connection Settings, and that no security software blocks port 8000 or 9000.
Firefox is the only major desktop browser with its own proxy settings, separate from the operating system. That makes it a simple way to browse through a proxy in one browser while every other app on the computer stays on your normal connection.
Below are the exact Connection Settings values for HTTP and SOCKS5, how the sign-in prompt works, an extension for quick switching and SOCKS5 passwords, and the about:config settings that keep WebRTC behind the proxy.
Updated 23 November 2026
The built-in settings authenticate HTTP on port 8000 through a prompt. SOCKS5 on port 9000 with a password needs the FoxyProxy extension or an IP allowlist. Your username and token appear on the Proxy setup page of your dashboard after your first order.
Follow the steps in order. Replace YOUR_TOKEN with the token from your dashboard and change the country, city or session in the username to suit the job.
Open the menu, choose Settings, stay on the General panel and scroll to the end. Under Network Settings click Settings. You can also type about:preferences in the address bar and search for proxy.
Choose Manual proxy configuration and fill in the fields below. The HTTPS checkbox sends secure sites through the same proxy, which is what you want: they are tunnelled and stay encrypted.
| Field | Value |
|---|---|
| Manual proxy configuration | Selected |
| HTTP Proxy | gate.firstproxy.shop |
| Port | 8000 |
| Also use this proxy for HTTPS | Checked |
| No proxy for | localhost, 127.0.0.1 |
Load any page. Firefox shows a dialog saying the proxy is requesting a username and password. Enter the full username with targeting and your token. You can let the password manager remember them.
| Field | Value |
|---|---|
| User Name | user-country-fr-city-paris-session-ff1-ttl-60m |
| Password | YOUR_TOKEN |
Firefox reuses the credentials until it restarts. Change the session part of the username for a new IP.
Clear the HTTP fields and fill in the SOCKS section instead. Proxy DNS sends hostname lookups through the proxy, so your own DNS server does not see the sites you visit. The built-in settings cannot send a SOCKS5 password, so this works when your public IP is on the allowlist in the dashboard.
| Field | Value |
|---|---|
| SOCKS Host | gate.firstproxy.shop |
| Port | 9000 |
| SOCKS v5 | Selected |
| Proxy DNS when using SOCKS v5 | Checked |
FoxyProxy Standard, from the Firefox add-ons site, stores proxies with their credentials and switches with one click. In Firefox it can also send a username and password to SOCKS5. Add a proxy with these values, then select it from the toolbar icon.
| Field | Value |
|---|---|
| Type | HTTP (or SOCKS5) |
| Hostname | gate.firstproxy.shop |
| Port | 8000 (or 9000 for SOCKS5) |
| Username | user-country-fr |
| Password | YOUR_TOKEN |
Type about:config, accept the warning and search for the preferences below. The first keeps WebRTC on the proxy when one is set. The second turns WebRTC off entirely, which also disables video calls in the browser.
| Field | Value |
|---|---|
| media.peerconnection.ice.proxy_only_if_behind_proxy | true |
| media.peerconnection.enabled | false (optional) |
Visit ipinfo.io/json. Firefox shows the JSON in its viewer, with the IP and city of the exit. Then run a WebRTC leak test and a DNS leak test to confirm nothing goes around the proxy.
A working proxy returns a response like the one shown, trimmed to the main fields. The IP belongs to the exit, the city and country follow your username, and the time zone is where that IP is located, here France.
{
"ip": "203.0.113.24",
"city": "Paris",
"country": "FR",
"timezone": "Europe/Paris"
}203.0.113.24 is a documentation address. Your result shows a real exit IP.
All targeting is written into the username, so Firefox needs no extra settings to change location. Parts are joined with hyphens in this order after your proxy user. The password is always your token.
| Part | Format | Example | Rule |
|---|---|---|---|
| Country | -country-{cc} | -country-fr | Required. Two-letter country code in lowercase. 64 countries are available. |
| City | -city-{city} | -city-paris | Optional. City name in lowercase, spaces become hyphens. 172 cities are available. |
| Session | -session-{id} | -session-a1b2c3 | Optional. Any letters and digits you choose. The same id keeps the same IP, a new id gets a new IP. |
| Session length | -ttl-{minutes}m | -ttl-30m | Used with a session. Residential 1 to 120 minutes, mobile 1 to 60, long-acting ISP up to 720 (12 hours). |
user-country-fr-city-paris-session-a1b2c3-ttl-30mFind country codes and city values on the proxy locations page.
The problems people run into most often with Firefox, with the message you are likely to see and how to solve it.
Firefox cannot reach the gateway. Check the host and the port in Connection Settings, and that no security software blocks port 8000 or 9000.
Wrong credentials, or an old password saved in the password manager. Remove the saved login for the proxy in Settings, Privacy and Security, Saved logins, then sign in again.
Built-in SOCKS settings send no credentials. Use FoxyProxy with a username and password, or allowlist your public IP.
With SOCKS5, tick Proxy DNS when using SOCKS v5. If DNS over HTTPS is on in Privacy and Security, the leak test may show that resolver, which is separate from the proxy.
Check the No proxy for list, and look for an add-on that manages proxies on its own. Only one proxy add-on should control the settings at a time.
All products share one account, one prepaid balance and the same gateway, so you can switch type by changing the product, not the code.
From $0.23 per GB
Browse local versions of sites from home IPs, sticky for up to 120 minutes.
View residential proxiesFrom $2.34 per IP per month
A fixed home IP for accounts you keep signed in to in a dedicated Firefox profile.
View static residential proxiesFrom $0.33 per IP per month
Fast fixed IPs for everyday browsing and services that allowlist one address.
View static isp proxiesCompare every product side by side on the pricing page.
Short answers to what people ask most about using a proxy with Firefox.
Open Settings, stay on General, scroll to Network Settings and click Settings. Choose Manual proxy configuration and enter the host and port.
Only when Use system proxy settings is selected. With Manual proxy configuration Firefox uses its own values, so other apps are not affected.
The built-in settings cannot send SOCKS5 credentials. Install FoxyProxy, add the proxy as SOCKS5 with a username and password, and select it from the toolbar.
It sends hostname lookups to the proxy instead of your own DNS server. That keeps lookups at the exit location and prevents DNS leaks.
System proxy on Windows and macOS, a separate proxied profile, and WebRTC protection.
Scraping and automation librariesSelenium proxy setupAuthenticated proxies with selenium-wire, or an IP allowlist with --proxy-server.
Anti-detect browsersMultilogin proxy setupCustom proxy in Multilogin X profiles for Mimic and Stealthfox, with masking based on IP.
Phones and tabletsAndroid proxy setupWi-Fi proxy fields, the Chrome sign-in, adb and emulator flags, and app-wide options.
Get your token and run the first Firefox request
Create an account, top up from $40 with crypto, and copy the gateway, username and token from the dashboard.