Skip to main content

Set the Rotation Interval for a Sticky Session/Port

Proxyrack avatar
Written by Proxyrack
Updated over 2 weeks ago

Video guide here.

A sticky port will connect you to an external IP address that will remain static for a set amount of time and then rotate. You can set how long it will take for the port to rotate in one of two ways:

  1. Through your dashboard

  2. Using the Proxyrack API

Please note: The minimum rotation interval is 3 minutes or 180 seconds. There is no maximum. However, if you are using residential proxies, the IP you are connected to may go offline in the middle of your rotation interval.

Dashboard

In your dashboard, select the proxies you would like to use from the left-hand navigation menu. Once there, click on the "Settings" tab and make sure that "Sticky Ports" are highlighted, like you see below.

Under where it says "Sticky Ports" you will see a list of the ports set up. Click on 'Add Settings' or select one of the existing ones and edit it on the 3 dots icon.
You can choose an option to set the rotation interval for that specific port or all of your ports.
Keep in mind that to apply that setting for all your ports you should enable that option at the bottom of the box.

Click on the 'Rotation Interval' box and you will see a dropdown appear.

Select the port number and rotation interval that you would like and click "Save".

This will set the rotation interval for just the port that you have entered.

Proxyrack API

You can set the rotation interval by adjusting your username wherever you have configured your proxies using either the dash syntax or the semicolon syntax:

  1. Dash Syntax: Add "-refreshMinutes-{number of minutes}" or "-refreshSeconds-{number of seconds}" after your username

  2. Semicolon Syntax: Add ";refreshMinutes={number of minutes}" or ";refreshSeconds={number of seconds}" after your username

Please note that cURL is used below as an example. You do not need to use cURL in order to set the rotation interval. You can do this wherever you have configured your proxies, such as in a browser, code, etc.

Examples

Unmetered Residential:
​Dash Syntax: curl -x unmetered.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: curl -x unmetered.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Premium Residential:
​​Dash Syntax: curl -x premium.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: ​curl -x premium.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Private Unmetered Residential:
​​Dash Syntax: curl -x private.residential.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​​Semicolon Syntax: curl -x private.residential.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

USA Rotating Datacenter:
​​Dash Syntax: curl -x usa.rotating.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​Semicolon Syntax: ​curl -x usa.rotating.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Global Rotating Datacenter:
​​Dash Syntax: curl -x global.rotating.proxyrack.net:10000 -U 'username-refreshSeconds-180:passsword' http://example.com
​​Semicolon Syntax: curl -x global.rotating.proxyrack.net:10000 -U 'username;refreshMinutes=10:passsword' http://example.com

Did this answer your question?