Skip to main content
Release a Sticky Session

If you want to connect to a new IP on a sticky port or are experiencing issues with a sticky port, you can release the connection manually.

Evan avatar
Written by Evan
Updated over 5 months ago

Each sticky port that you use will have an assigned proxy (IP address) for the duration of that session. If you would like to manually release the proxy from that port and end the session early, you can do this one of two ways:

  1. Within your user dashboard

  2. Using the Proxyrack API

Dashboard

In your dashboard, under the "Currently assigned ports" section, you will see a table with a list of the active sticky sessions on your account. Find the port that you would like to release, then click on the red button with a trash can icon on the right-hand side of the row, as you see in the screenshot below.

A confirmation window will appear when you click on the button. The confirmation window will include the number of remaining releases you have for that hour. Click "Confirm" to release the port. The session will then disappear from the table.

Proxyrack API

To release a port using the Proxyrack API, make a request to http://api.proxyrack.net/release while connected to the port you wish to release. This will release the connection to that IP address and end the session. When you make another request on that port, a new sticky session will be started with a new proxy assigned to the session.

If you would like to release all of your sticky ports at one time you can make a request to http://api.proxyrack.net/release_all. View live examples here.

Please note that cURL is used below as an example. You do not need to use cURL in order for this to work. You can also access this API endpoint in your browser, programmatically through code, in software, etc.

Examples:

Unmetered Residential:

Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
curl -x unmetered.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

Private Residential:
curl -x private.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

USA Rotating Datacenter:
curl -x usa.rotating.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

Global Rotating Datacenter:
curl -x global.rotating.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

Static USA Datacenter:
curl -x usa.static.proxyrack.net:10000 -U username:password http://api.proxyrack.net/release

Live example here.

Result:
{"success": True}

Note that you are limited to a certain number of releases per hour. Your hourly release limit is based on the number of threads or ports that you have purchased with your subscription. To see your hourly release limit, make a request to api.proxyrack.net/stats. In the response, it will be under the "release" section.

"release": {
"count": 0,
"limit": 70
},

Want to watch a video walkthrough instead? This YouTube video will walk you through how to release a sticky session:

Did this answer your question?