Skip to content

HTTP & SOCKS5 Proxy Setup

Ask AI

Ready taskDo it with me, step by step

Chat assistants

Open in ChatGPTNew tabOpen in ClaudeNew tab

Coding agents

Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the web

Copy

View as MarkdownPlain text for AI tools
See the prompt
Read https://xproxy.io/document/how-use-proxy-format-http-socks5.md, the XProxy guide "HTTP & SOCKS5 Proxy Setup". 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.

HTTP and SOCKS5 are the quickest way to use your modems. Every browser, anti-detect profile, bot and scraper has a proxy field for them.

You need: XProxy running with at least one modem online in Proxy Management.

In short

One port per modem

Port 4001 always uses modem #1, 4002 modem #2, and so on.

Two ways to log in

A username and password, or an IP whitelist. Use one or both.

Copy in your tool's format

Export Proxy writes the lines for GoLogin, AdsPower, Multilogin, Proxifier and code.

Your toolbrowser, bot, scraper
XProxy boxone port per modem
4G/5G modemSIM card
Website / appsees a mobile IP
Each port belongs to one modem: port 4001 always exits through modem #1, port 4002 through modem #2, and so on.

At a glance

WhatValue for modem #1
HTTP port4001
SOCKS5 port4001 with Auto Proxy (one port) on · 5001 with it off
IPv6 port (SIM with IPv6 only)6001 (SOCKS5 7001 with Auto Proxy off)
LoginUsername and password, IP whitelist, or both
Typical format192.168.1.10:4001:demo:proxy123 or socks5://demo:[email protected]:4001

These ports assume the default Starting Port, 4000. In Proxy Management the panel always shows the real ports.

Set up your proxies

Step 1 of 5

Find your proxies

Open Proxy Management. The HTTP · SOCKS tab shows the ports of every modem 1.

  • PROXY v4: one port for both HTTP and SOCKS5.
  • HTTP v4 and SOCKS v4: two ports (when Auto Proxy is off, see step 2).
  • v6 lines: IPv6 ports. They show only when the SIM gets an IPv6 address.

You will use Export Proxy 2 in step 5 and Proxy Settings 3 in steps 2 to 4.

Each port belongs to one modem: port 4001 always exits through modem #1, port 4002 through modem #2.

Which preset for which tool?

PresetExample linePaste into
GoLogin / AdsPower · HTTP · host:port:user:pass51.79.12.34:4001:demo:proxy123GoLogin, AdsPower, Dolphin{anty}, most anti-detect browsers
Multilogin / VMLogin · SOCKS5 · host:port:user:pass51.79.12.34:4001:demo:proxy123Multilogin, VMLogin (select SOCKS5)
Shadowrocket / Surge · socks5://user:pass@host:portsocks5://demo:[email protected]:4001Shadowrocket, Surge, code and CLI tools
Proxifier / ProxyCap · SOCKS5 · host:port, no login51.79.12.34:4001Proxifier, ProxyCap (with an IP whitelist)
Plain HTTP or Plain SOCKS5 · user:pass@host:port, or host:port@user:passdemo:[email protected]:4001Scrapers, bots, any tool that asks for a URL

More in the same window: Only active skips modems that are down. Scheme prefix starts each line with http:// or socks5://. For SOCKS5 you can pick socks5h://, which looks up website names on the proxy. Rotation link → Add to every line adds the change-IP link to each line.

Use the proxy in your tool

bash
# HTTP
curl -x http://demo:proxy123@192.168.1.10:4001 https://api.ipify.org

# SOCKS5: "socks5h" lets the proxy look up website names (no DNS leak)
curl -x socks5h://demo:proxy123@192.168.1.10:4001 https://api.ipify.org

Both commands should print the mobile IP of modem #1, not your own IP. With Auto Proxy off, SOCKS5 is on port 5001.

Using an anti-detect browser? Follow its own guide: AdsPower, GoLogin, Multilogin, Dolphin{anty}.

Change the IP

Each proxy has its own rotation link. Click LINK in the Rotation column. Opening the link makes that modem reconnect and get a new mobile IP:

Terminal
curl "http://192.168.1.10/reset?proxy=p:4001"

Timers, status checks and the API are in How to change / rotate IP.

HTTP or SOCKS5?

HTTPSOCKS5
Supported byAlmost every toolMost tools, all anti-detect browsers
TrafficWeb traffic (HTTP/HTTPS)Any TCP connection (mail, games, custom apps)
DNSLooked up by the proxyLooked up by the proxy with socks5h:// (recommended)
UDP (WebRTC, QUIC, games)NoYes, for apps that ask for it (UDP ASSOCIATE). Browsers send TCP only.

Troubleshooting

SymptomFix
407 Proxy Authentication Required, or on HTTPS sites the connection just closesThe username or password is wrong or missing. SOCKS5 tools show an authentication error. Copy the proxy again after saving the Login settings.
Works at home, times out from outsideYou copied the local address. In Proxy Settings → Address set the source to VPS relay, Public IP, DDNS or Custom, and make sure those ports are forwarded.
Connection refused on port 5001Auto Proxy is on, so SOCKS5 is on 4001. Use the port shown in the table.
Whitelisted, but access is deniedYour public IP changed. Check it at api.ipify.org and update the whitelist.
A website still sees your own IP or locationThe app is not using the proxy for everything (WebRTC, DNS). Use socks5h://, an anti-detect browser, or switch to VPN mode.

FAQ

Can HTTP and SOCKS5 really share one port?

Yes. With Auto Proxy on, XProxy detects the protocol of each connection, so 4001 answers both. A tool that asks you to pick a type works with either choice.

Can several people use the same port at once?

Yes, but they share the same modem and the same IP, and a rotation changes the IP for all of them. Give each customer their own port when they need their own IP.

When do I get IPv6 proxies?

When your plan includes IPv6, IPv6 Proxy is on in Proxy Settings → General, and the SIM and carrier give the modem an IPv6 address. Otherwise only IPv4 ports show.

What next?

Change the IP on a timer, or pick another protocol for a phone or a whole device.

Still stuck?A technician can look at your device with a one-time PIN, or chat with us on Telegram.