> ## Documentation Index
> Fetch the complete documentation index at: https://help.decodo.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Decodo provides web scraping and proxy infrastructure. For agent-specific guidance - which endpoint to call, how to authenticate, and the usage rules - read https://help.decodo.com/docs/for-agents.md.
> Add .md to any page URL on this site to get its Markdown source.
> Search these docs live over MCP at https://help.decodo.com/mcp.

# How Ports Map to Your IPs

> Dedicated ISP Proxies — how a port maps to each IP in your list, and which ports move when the list changes

## Ports follow the position in your IP list

Every IP you own sits at a position in your IP list, and that position decides its port. The first IP in the list answers on port `10001`, the second on `10002`, and so on:

```
port = 10000 + position in your IP list
```

> [!NOTE]
>
> Port `10000` is the rotating port — it hands you a different IP on every request. Ports `10001` and above are the static ports described here, one per IP you own. See [**Session Types**](https://help.decodo.com/docs/dedicated-isp-proxy-session-types.md) for the difference.

## Which ports move when your list changes

When you replace or add IPs, Decodo keeps every IP you did not touch on the port it already had.

| Operation | What happens to your ports |
| - | - |
| **Replace an IP** | The replacement takes over the old IP's port. No other port changes. |
| **Add IPs (an upgrade)** | Your current IPs keep their ports and the new IPs take the ports after them. The exception is an upgrade that also changes your location selection outright — switching 10 US IPs for 20 UK IPs gives you an entirely new list, so every port serves a new IP. |

## See it run

The card below replaces one IP twice — once the way it used to work, once the way it works now — so you can compare where the replacement lands. Use the ↺ button to put the list back to its starting state.

> [!NOTE]
>
> ### Ports are not grouped by country
>
> Your IP list is no longer ordered so that all IPs from one country sit together. Keeping ports stable takes priority, so a country's IPs can end up on ports scattered through the range. Use the **country** column in [**My IP list**](https://help.decodo.com/docs/dedicated-isp-proxy-ip-list-management.md#my-ip-list) to find which port serves which country, and re-export the list after you change it.

## What this means for your setup

* **Pin to ports, not to positions.** A port now refers to the same IP for as long as you keep that IP, so hard-coding `10001`–`10005` in a config is safe.
* **Replacing every IP still keeps every port.** A full refresh swaps each IP in place, so your ports are unchanged even though none of the IPs are the same.
* **Re-export after you change your location selection.** That is the one change that hands you a whole new list, and with it a new IP on every port.
* **IPs you do not touch do not move.** Replacing or adding IPs leaves the rest of your list exactly as it was — same IPs, same ports.

***

> [card] [Support](https://direct.lc.chat/12092754)
>
> Need help or just want to say hello? Our support is available 24/7. \
> You can also reach us anytime via email at [support@decodo.com](mailto:support@decodo.com).

> [card] [Feedback](mailto:feedback@decodo.com)
>
> Can't find what you're looking for? Request an article! \
> Have feedback? Share your thoughts on how we can improve.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.