You can generate a dynamic IP by using a rotating port or a sticky port with a custom IP rotation interval.
There are two common ways to do this:
1. Use a random port for fast IP rotation
Use a random port, such as 9000, to automatically receive a new IP with each request.
This is useful when you need to rotate IPs frequently, such as when scraping websites or sending a large number of requests.
Example:
Random port → a new IP with each request
2. Use a sticky port with custom rotation
If you need to keep the same IP for a certain amount of time before rotating, you can use a sticky port and specify how long the IP should remain active.
You can control the rotation interval by adding parameters to your username, such as:
refreshSecondsrefreshMinutes
Example:
Sticky port + refresh parameter → the same IP is maintained for the specified period, then automatically rotated
This gives you more control over how frequently your IP changes, depending on your use case.
Which option should I use?
Use a random port if you need frequent IP rotation, such as for scraping or high-volume requests.
Use a sticky port with a refresh parameter if you need to maintain the same IP for a specific period before automatically switching to a new one.
