Knowing the IP of the Proxy Peer

Support Account
Support Account
  • Updated

For data center and static residential network types:

  • For HTTP the IP is in the response header x-luminati-ip
    Example for Proxy Peer IP of 5.6.7.8:
    Request:
    GET /index.html HTTP/1.1
    User-Agent: curl/7.35.0
    Host: example.com
    Accept: */*
    Response:
    HTTP/1.1 200 OK
    Content-Type: text/html
    x-luminati-ip: 5.6.7.8
  • For HTTPS the IP is in the CONNECT response header x-luminati-ip
    Example for Proxy Peer IP of 5.6.7.8:
    Request:
    CONNECT example.com:80 HTTP/1.1
    Host: example.com:80
    Accept: */*
    Response:
    HTTP/1.1 200 OK
    Content-Type: text/html
    x-luminati-ip: 5.6.7.8

 

For residential and mobile network:

at the residential and mobile network, the ip is encoded

  • For HTTP the IP is in the response header x-luminati-ip
    Example for Proxy Peer encoded of 123qaz123wsx123edc123rfv123tgb123:
    Request:
    GET /index.html HTTP/1.1
    User-Agent: curl/7.35.0
    Host: example.com
    Accept: */*
    Response:
    HTTP/1.1 200 OK
    Content-Type: text/html
    x-luminati-ip: 123qaz123wsx123edc123rfv123tgb123
  • For HTTPS the IP is in the CONNECT response header x-luminati-ip Example for Proxy Peer IP of 123qaz123wsx123edc123rfv123tgb123:
    Request:
    CONNECT example.com:80 HTTP/1.1
    Host: example.com:80
    Accept: */*
    Response:
    HTTP/1.1 200 OK
    Content-Type: text/html
    x-luminati-ip: 123qaz123wsx123edc123rfv123tgb123
Share this

Was this article helpful?

0 out of 0 found this helpful