Skip to content
Datacenter Proxies How to Connect

Datacenter Proxies How to Connect

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

Endpoint and Port Information Permalink to Endpoint and Port Information

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

Proxy Protocol Datacenter Endpoint Datacenter Port
HTTP Proxy dcp.evomi.com 2000
HTTPs Proxy dcp.evomi-proxy.com 2001
SOCKS5 Proxy dcp.evomi.com 2002

The HTTPs endpoint uses the evomi-proxy.com domain — that is the hostname our TLS certificate covers, and it reaches the same servers. A client that verifies certificates will reject dcp.evomi.com on port 2001.

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.
Every datacenter proxy request has a minimum billed traffic consumption of 512 bytes. If a request consumes less than 512 bytes, it still deducts 512 bytes from your balance. At $0.30 per GB on the 1,000 GB plan, that minimum is about $0.0000001536 per request, or $0.0000002304 at the $0.45 pay-as-you-go rate.

Basic Connection Instructions Permalink to Basic Connection Instructions

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

CURL Permalink to CURL

To connect using CURL, use the following command format:

curl -x http://dcp.evomi.com:2000 -U testuser:testpassword https://ip.evomi.com/s

Python Permalink to 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
    
    proxy_pass = "testpassword"
    proxy_url = f"http://testuser:{proxy_pass}@dcp.evomi.com:2000"
    
    proxies = {
        "http": proxy_url,
        "https": proxy_url,
    }
    
    response = requests.get("https://ip.evomi.com/s", proxies=proxies)
    print(response.text)

JavaScript Permalink to 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 proxyPass = 'testpassword';
    const proxyUrl = `http://testuser:${proxyPass}@dcp.evomi.com:2000`;
    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.