How Many Connections Can I Open with RotatingProxy?

You can open up to 1,000 concurrent connections per account. This limit applies across all your proxy users and all four proxy networks combined.

Key points
  • 1,000 concurrent connections maximum per account, shared across all networks and proxy users.
  • Each open TCP connection to the gateway counts toward the limit.
  • The limit is per account, not per proxy user or per IP address.
  • When the limit is reached, new connection attempts will fail until others close.

How Many Connections Can I Open?

Your RotatingProxy account can have up to 1,000 concurrent TCP connections open to our gateway at any single moment. This is a total limit shared across all your proxy users, all four proxy networks (residential, mobile, datacenter, and ISP), and both gateway ports (7070 and 7071). It is not a limit per proxy user, per IP address, or per target website. This capacity is designed to support substantial parallel workloads for tasks like web scraping, price monitoring, and website monitoring.

What Counts as a Concurrent Connection?

A concurrent connection is each individual TCP socket your software opens to our gateway host gw.rotatingproxy.cc on port 7070 or 7071. When you use a library like requests in Python or axiosPlaywright or Puppeteer often maintain a persistent connection for each browser instance. Understanding what consumes a connection helps you plan concurrency for your crawlers effectively.

Is the Limit Per Proxy User or Per Account?

The 1,000 connection limit is per account, not per proxy user. If you have 10 proxy users, they all draw from the same shared pool of 1,000 connections. You cannot allocate a specific number of connections to a specific proxy user. This design simplifies management and reflects the total capacity of your account. It means you need to coordinate your scripts if you run multiple processes; one script using 800 connections leaves only 200 available for others. For team workflows, consider separating high-volume tasks into different accounts if you consistently approach the limit.

What Happens When I Reach the Connection Limit?

When your account has 1,000 active connections, any attempt to open a new connection will fail. The gateway will refuse the connection, which your client will see as a network error like "connection refused" or a timeout. Traffic does not queue; you must retry later. Connections are freed when they are closed normally by your client, when a timeout occurs, or if the network terminates them. To avoid hitting the limit unexpectedly, implement logic in your code to monitor your connection usage or use libraries with built-in connection pool limits. Also, ensure your balance has not run out, as a zero balance will also prevent new connections.

How to Manage Connections and Avoid Hitting the Limit

You can manage connections efficiently by using connection pooling, setting appropriate timeouts, and employing asynchronous programming patterns. For example, in Python, the requests library with a Session object and an HTTPAdapter with a pool limit is a good practice, as detailed in our Python requests integration guide. Async libraries like aiohttp or httpx allow you to make many requests over a smaller number of persistent connections. Always close connections explicitly when done, and set read/timeout values to prevent orphaned sockets. For rank tracking or social media management tasks that make many sequential requests, reuse sessions and implement delays between batches to stay well under the limit.

Does the Limit Change with Traffic Volume or Payment?

No, the 1,000 concurrent connection limit is fixed and does not increase automatically with higher traffic volume or larger top-ups. It is a fundamental capacity setting for your account. Our pay-as-you-go billing charges for traffic per GB, not for connections. If you find your projects consistently require more than 1,000 simultaneous connections, you would need to distribute the load across multiple RotatingProxy accounts. This limit is independent of the volume pricing tiers; your price per GB drops with more usage in a month, but your concurrency cap remains the same.

Connection Limits for Specific Use Cases

Different use cases consume connections in different patterns. A scraper for Google Maps using hundreds of parallel threads may approach the limit quickly, while a ad verification system making fewer, longer-lived browser sessions may use far fewer. For real estate data collection from sites like Zillow, you might use a moderate number of concurrent sessions with sticky IPs. It's crucial to estimate your bandwidth and concurrency needs upfront. Tools that simulate user behavior, such as those used for localization testing, often benefit from connection reuse and careful session management to stay within bounds.

Remember, the gateway supports both HTTP/S and SOCKS5 protocols. Whether you use port 7070 for HTTP CONNECT or port 7071 for SOCKS5, as explained in our port comparison guide, each TCP handshake consumes one connection slot. Your choice of network, residential, mobile, datacenter, or ISP, does not affect the connection limit, only the exit IP and pricing. Plan your architecture with this global limit in mind to ensure smooth operation for data-intensive projects like AI training data collection or financial data aggregation.

Questions

Can I increase my connection limit beyond 1,000?

No, the 1,000 concurrent connection limit is fixed per account. If you need more simultaneous connections, you would need to use multiple separate accounts and distribute your workload across them.

Do idle connections count toward the limit?

Yes, any open TCP connection to the gateway counts, whether it is actively transferring data or idle. It's important to set timeouts and close connections promptly when finished.

How can I check how many connections I'm currently using?

The dashboard does not show a live connection count. You need to estimate based on your application's concurrency settings. Monitor for connection refusal errors as an indicator you might be near the limit.

Does using a session ID (sticky IP) affect connection count?

No, using a <code>sid</code> option for a sticky session does not change how connections are counted. Each TCP connection opened to the gateway still consumes one slot, regardless of whether it uses a new IP or a sticky one.

What's the difference between connections and requests?

A connection is a TCP network socket. A request is an HTTP message sent over that socket. With HTTP keep-alive or a connection pool, you can send many requests over a single connection, which is efficient and recommended.

If I get a "connection refused" error, does it mean I hit the limit?

Not necessarily. "Connection refused" can also mean your balance is zero, there's a network issue, or you have incorrect gateway host/port details. Check your balance first, then review your code's concurrency.

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.