> For the complete documentation index, see [llms.txt](https://docs.dataimpulse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataimpulse.com/proxies/types-of-connections.md).

# Types of connections

We offer two types of proxy connections: Rotating and Sticky.

### Rotating

The IP address changes automatically with each new request.

You should use:

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>For HTTP/HTTPS</td><td><strong>823</strong> PORT</td><td></td><td></td></tr><tr><td>For SOCKS5</td><td><strong>824</strong> PORT</td><td></td><td></td></tr></tbody></table>

<figure><img src="https://2032935727-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2PNbkVMJTPjkWGv2Kbvj%2Fuploads%2FxaFpg37IOci7ozuGfNj5%2FGoogle%20Chrome%202024-11-06%20%D0%B2%2009.46.33.png?alt=media&amp;token=34a3a197-8c87-475c-8452-14e3653cdf61" alt=""><figcaption></figcaption></figure>

***

### **Sticky**

Sticky proxies are port-based. IP addresses are bound to a specific port for a period of time.&#x20;

The rotation interval for sticky proxies can range from 1 to 120 minutes, with the average duration being 30 minutes.

For sticky connections, you can use ports from **10000** to **20000**.

An example of the HTTP sticky proxy:

```
curl -x "http://login:password@gw.dataimpulse.com:10000" https://api.ipify.org/
```

An example of the SOCKS5 sticky proxy:

```
curl -x "socks5://login:password@gw.dataimpulse.com:10000" https://api.ipify.org/
```

{% hint style="info" %}
If no Rotation Interval is specified for a Sticky connection or is set to "0", the default interval will be 30 minutes.
{% endhint %}

***

<figure><img src="https://2032935727-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2PNbkVMJTPjkWGv2Kbvj%2Fuploads%2FmF8SUohvv3OVtohiCfiv%2FGoogle%20Chrome%202024-11-06%20%D0%B2%2009.36.29.png?alt=media&amp;token=c0d5f2c6-8f79-4634-9e85-79fc17f98e19" alt=""><figcaption></figcaption></figure>

Blog article on selecting the best proxy type:

[Rotating or Sticky Proxies: How to Choose the Right Option](https://dataimpulse.com/blog/rotating-or-sticky-proxies-how-to-make-the-right-choice/)

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dataimpulse.com/proxies/types-of-connections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
