Why is the proxy server refusing connections?
A proxy refuses connections when no active service is listening on the host and port entered, typically due to wrong ports, expired proxies, or leftover proxy settings.
- Incorrect port: mistyped port number, or using a port assigned to another proxy in your order.
- Expired or suspended proxy, so the service is no longer listening on that port.
- Leftover proxy settings in Firefox, Windows, or extensions pointing to an expired proxy.
- A 127.0.0.1 proxy configured by software (such as a VPN or ad blocker) that was uninstalled or turned off.
- Security software on the device blocking traffic and simulating a connection refused response.
How to Fix in Firefox
- Open Settings, search for "proxy", and click Settings… under Network Settings.
- If you do not intend to use a proxy: select No proxy and click OK.
- If using an ONET proxy: select Manual proxy configuration, make sure the HTTP Proxy box has the correct IP and Port matches your dashboard, check the option for HTTPS, and leave SOCKS blank (Firefox's SOCKS field does not support username and password authentication).
- If "Use system proxy settings" is selected, the issue may lie in your Windows or macOS settings; check them there.
- Try disabling proxy extensions such as FoxyProxy, as extensions have permission to override Firefox settings.
How do you test proxies outside a browser?
Test the proxy independently of the browser with a single command: curl -v -x http://IP:PORT -U user:pass https://api.ipify.org (on Windows PowerShell, type curl.exe). If the output displays the proxy IP, the proxy is working fine; the issue is with how your device or software is configured to use it.
If curl reports "Failed to connect … Connection refused", the proxy is not accepting connections on that port. On Windows, you can test the port with Test-NetConnection IP -Port PORT. If the IP and port are definitely correct and the proxy is active but still refused, contact ONET support with the IP and port.
How does this error appear in Chrome and other software?
The root cause is identical, but each application displays it differently: Chrome and Edge report ERR_PROXY_CONNECTION_FAILED, while Python throws ProxyError with "Connection refused".
- Chrome, Edge: ERR_PROXY_CONNECTION_FAILED.
- Python requests: ProxyError with "Connection refused" or "NewConnectionError".
- Antidetect browsers: proxy check failed, no IP.
Don't have a proxy yet? Buy dedicated proxies with automatic activation
Dedicated IPv4 proxies in 9 countries from 20.000₫/IP/month when buying from 2.000 IPs (39.000₫ for 1 IP), plus Vietnam and US static ISP proxies. HTTP(S) and SOCKS5 with username and password, unlimited bandwidth, automatically provisioned after payment. Note that Vietnam proxies currently use the HTTP(S) protocol, with no SOCKS5 support yet.
Buy proxies now