How to Change / Rotate IP of Proxy
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/how-change-rotate-ip.md, the XProxy guide "How to Change / Rotate IP of Proxy". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now). Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.
The app opens with the prompt filled in. Nothing runs until you press Enter.
Get a new mobile IP when you want one: with one click, on a timer, or from your own script.
You need: a Basic plan or higher (the Free plan has no IP rotation) and a modem that is online in Proxy Management.
In short
The modem reconnects and the carrier gives it a new An IP address is the number that tells a website where a connection comes from. It works a bit like a return address.. Your proxy port stays the same.
Click Rotate, set a timer, or call a link from your bot. Pick one below.
It depends on the modem and the carrier. Scripts should check the status, not wait a fixed time.
Change the IP
Step 1 of 2
Open Proxy Management. On the row of your proxy, click Rotate 1.
To change every modem at once, click Rotate All 2.
How long does a rotation take?
There is no single number. The panel answers at once, then the modem reconnects. The time depends on the kind of modem and on the carrier.
| Modem | What to expect |
|---|---|
| Android phone (NextGen app) | About 5 to 6 seconds on our test phones: the airplane-mode time (3 seconds by default) plus about 2 seconds to reconnect. A shorter airplane time is faster, but some carriers then keep the same IP. |
| XH22 dongle | Method 1 · Fast & stable is the quickest. Methods 2 to 4 are slower. Method 5 · Offline hold keeps the modem off for a time you set (150 seconds by default) and your proxy is offline for that time. |
| Other dongles and routers | It depends on the model and on the method you pick in Rotation Methods. |
To change these: Proxy Management → Rotation Settings sets the delays, and General Settings → Rotation Methods picks the method for each kind of dongle.

Still the same IP?
| You see | What to do |
|---|---|
| The IP did not change | Some carriers hand back the same IP when the modem reconnects fast. Open Rotation Settings → Duplicate IP and turn on Rotate if same IP: the proxy then rotates again by itself. |
| Still the same IP on an XH22 dongle | In General Settings → Rotation Methods, try Method 5 · Offline hold. The carrier then gives a new IP after a longer offline time. |
| A rotation does not run right after another one | Prevent rotation sets the shortest time between two rotations of the same port. Lower it in Rotation Settings → General. |
need_upgrade | Your plan has no IP rotation. See Manage your subscription. |
modem_resetting | A rotation is already running on that modem. Wait for it to end. |
| A link from outside your network does not open | The link still has your local address. Set a public address in Proxy Settings → Address. |
Let your customers rotate
Selling proxies on the Business plan? Every customer proxy has its own token. The customer rotates their own proxy without your panel login:
curl "http://your-proxy-host/selling/rotate?token=TOKEN"Per-port logins and the other customer links are in How to use the Selling Platform and in HTTP & SOCKS5 proxy setup.
Developer API
The same calls the panel uses. The base URL is the address of your XProxy box, for example http://192.168.1.100 or http://myproxy.duckdns.org.
# by proxy (host:port)
curl 'http://192.168.1.100/api/v1/rotate_ip/proxy/localhost:4001'
# by position (1 = first modem)
curl 'http://192.168.1.100/api/v1/rotate_ip/position/1'
# the same call as the rotation link
curl 'http://192.168.1.100/reset?proxy=192.168.1.100:4001'
# every call answers at once:
# {"status": true, "msg": "command_sent"}msg can also be need_upgrade (Free plan), modem_resetting (a rotation is already running) or slot_not_found.
curl -u USER:PASS …. What next?
Tools that call the link for you, and how to read the proxy list.

