> 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

### 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="/files/Ojc40QXPJGmXgKHoRZ4c" 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="/files/wE760bXHYAiqMJLxxWZn" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
