How to connect

This page is a basic guide with information about Mobile Proxies and how to connect to them.

Endpoint and Port Information

To connect to the evomi proxy system with Mobile proxies, you need to use the following endpoint and port configurations:

Proxy Protocol Mobile Endpoint Mobile Port
HTTP Proxy mp.evomi.com 3000
HTTPs Proxy mp.evomi.com 3001
SOCKS5 Proxy mp.evomi.com 3002

The difference between the HTTP and HTTPs proxies is that the HTTPs proxy is encrypted, while the HTTP proxy is not. The SOCKS5 proxy is a more advanced protocol that can handle more types of traffic.

The HTTP protocol works for HTTPs requests, you do not need to use the HTTPs protocol for HTTPs requests. The HTTPs protocol is only necessary if you need to connect to a secure HTTPs server and is generally slower than the HTTP protocol.

⚠️
Please note that depending on your protocol, you will need to use the correct port number.

Basic Connection Instructions

Here are step-by-step instructions to help you connect using different programming languages and tools.

CURL

To connect using CURL, use the following command format:

curl -x http://testuser:[email protected]:3000 https://ip.evomi.com/s

Python

To connect using Python with the requests library, follow these steps:

  1. Install the requests library if you haven’t already:

    pip install requests
  2. Use the following script:

    import requests
    
    proxies = {
        "http": "http://testuser:[email protected]:3000",
        "https": "http://testuser:[email protected]:3000",
    }
    
    response = requests.get("https://ip.evomi.com/s", proxies=proxies)
    print(response.text)

JavaScript

To connect using JavaScript, particularly with Node.js, follow these steps:

  1. Install the node-fetch and http-proxy-agent packages if you haven’t already:

    npm install node-fetch http-proxy-agent
  2. Use the following script:

    const fetch = require('node-fetch');
    const HttpsProxyAgent = require('https-proxy-agent');
    
    const proxyUrl = 'http://testuser:[email protected]:3000';
    const agent = new HttpsProxyAgent(proxyUrl);
    
    fetch('https://ip.evomi.com/s', { agent })
        .then(res => res.text())
        .then(body => console.log(body))
        .catch(err => console.error('Error:', err));
ℹ️
Note that you can get an easy to use interface to configure this for you, using our Proxy Generator.