Address, ports and protocols

    Addresses, HTTP port 823, SOCKS5 port 824, proxy formats and connection examples in curl, Python, Node.js and PHP.

    View as Markdown

    Every RH7 proxy uses the same address and the same ports. What changes from one proxy to another is the username and password.

    Addresses

    AddressWhen to use
    auto-rh7proxys.comMain. Use this one by default.
    ip-rh7proxys.comAlternative, if the main one is slow on your network.
    start.rh7proxys.comThird entry option.

    All three lead to the same network. Pick the one with the lowest latency for you. The panel shows the current latency.

    Ports

    PortProtocolBehavior
    823HTTP and HTTPSRotating IP
    824SOCKS5Rotating IP
    10000 to 19999HTTPSticky session: each port holds one IP

    Use HTTP (823) in browsers, extensions and most programs. Use SOCKS5 (824) when the program asks for that protocol or when the traffic is not web. Rotativa CPA works only over HTTP. Sticky session ports are explained in Rotating or fixed IP.

    Accepted formats

    Each program asks for the proxy in its own way. All of these represent the same proxy:

    text
    auto-rh7proxys.com:823:username:password
    username:password@auto-rh7proxys.com:823
    http://username:password@auto-rh7proxys.com:823
    socks5://username:password@auto-rh7proxys.com:824

    In the panel, the copy button already offers these formats. Through the API, use GET /v1/proxies/{id}/credentials?format=... (see Manage proxies).

    Examples

    curl

    bash
    # HTTP
    curl -x http://username:password@auto-rh7proxys.com:823 https://api.ipify.org
    
    # SOCKS5 (the "h" sends DNS through the proxy)
    curl -x socks5h://username:password@auto-rh7proxys.com:824 https://api.ipify.org

    Python (requests)

    python
    import requests
    
    proxy = "http://username:password@auto-rh7proxys.com:823"
    r = requests.get("https://api.ipify.org", proxies={"http": proxy, "https": proxy}, timeout=30)
    print(r.text)

    Node.js (undici)

    js
    import { fetch, ProxyAgent } from "undici";
    
    const dispatcher = new ProxyAgent("http://username:password@auto-rh7proxys.com:823");
    const res = await fetch("https://api.ipify.org", { dispatcher });
    console.log(await res.text());

    PHP (cURL)

    php
    $ch = curl_init("https://api.ipify.org");
    curl_setopt($ch, CURLOPT_PROXY, "auto-rh7proxys.com:823");
    curl_setopt($ch, CURLOPT_PROXYUSERPWD, "username:password");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    echo curl_exec($ch);

    Concurrent connections

    You can open several connections at the same time with the same proxy. On a rotating proxy, each new connection can exit through a different IP. Usage is counted in GB, adding up what comes in and what goes out.