---
title: "Static IP Proxy Concepts: IP Pairs, Tokens, Regions"
description: "How the Fixedmark static IP proxy works: IP pairs and failover, regions, tokens, the TLS proxy endpoint, CONNECT tunnels, and socks5 versus socks5h DNS."
canonical: https://fixedmark.com/docs/concepts
updated: 2026-11-03
source: Fixedmark (https://fixedmark.com), BitMask LLP
---

Start

# How the static IP proxy works

The few ideas behind Fixedmark: one proxy URL, a pair of static IPs per region, tokens that limit what a credential can reach, and a proxy that never decrypts your traffic.

Docs preview: Fixedmark is not live yet. Endpoints are issued at launch, and these pages describe planned launch behavior. Anything marked planned may change. [Join early access](https://fixedmark.com/early-access) to get yours first.

## The proxy URL

Everything starts from one URL. Your HTTP client uses it as its proxy.

```
https://APP_ID:TOKEN@mum.egress.fixedmark.com:443
socks5h://APP_ID:TOKEN@mum.egress.fixedmark.com:1080
```

_Parts of the Fixedmark proxy URL_

| Part     | Example                          | Meaning                                                                                                                                |
| -------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Scheme   | `https://`                       | Your client opens TLS to the proxy before it sends anything. Use `socks5h://` for SOCKS5.                                              |
| Username | `APP_ID`                         | The app the request belongs to. Usage and logs are grouped by app.                                                                     |
| Password | `TOKEN`                          | A secret token for that app. URL-encode it if it contains reserved characters.                                                         |
| Host     | `mum.egress.fixedmark.com`       | The region's proxy endpoint. The prefix names the region.                                                                              |
| Port     | `443`, `1443`, `8080`, or `1080` | 443 for the HTTP proxy over TLS and 1443 for SOCKS5 over TLS. 8080 (HTTP) and 1080 (SOCKS5) are plain and send the token in cleartext. |

## IP pairs and high availability

Each region runs at least two proxy nodes. Your app gets a pair of static IPv4 addresses, one primary on each node. The region's host name resolves to healthy nodes only. Each new connection leaves from one IP in the pair.

When a node fails, the other node takes over its IP. When Fixedmark replaces a node, the IP moves to the new node. Addresses are tracked separately from servers, so a server change never means a new IP for you.

- **Allowlist both IPs.** Requests are spread across the pair, and failover can move traffic to either address. An allowlist with one IP fails part of the time, which is hard to debug.
- **Expect resets during failover.** Connections that were open on a failed node drop. New connections succeed once the IP moves. Clients with retries and connection pools recover on their own.
- **Broker slots map to the pair.** Brokers that ask for a primary and a secondary IP get one address each. See [static IP for algo trading](https://fixedmark.com/india/algo-trading-static-ip).

## Shared and dedicated pairs

Starter and the trial use a shared IP pair. Other Fixedmark customers in the same region send traffic from the same addresses. Pro and higher plans get a dedicated pair that only your account uses.

A shared IP still gives you a fixed address, but an allowlist that trusts it also admits other customers' traffic from that IP. Use a dedicated pair when the allowlist is a security control, such as a production database or a bank API. See [planned pricing](https://fixedmark.com/pricing).

## Regions

Each IP pair lives in one region. Pick the region closest to the destination, not to your app. A Mumbai pair is the right choice for an Indian bank API even if your app runs in the US.

Planned launch regions: Mumbai (India), Singapore (Singapore), Ashburn (United States), Newark (United States). The Mumbai endpoint is `mum.egress.fixedmark.com`. Host names for the other regions are listed in the dashboard at launch. See [regions](https://fixedmark.com/regions).

IPs cannot move between regions. Plans with two regions give you a pair in each, and you allowlist all four addresses. Automatic failover across regions is on the roadmap.

## Apps and tokens

An app groups usage, logs, and IPs. Each app can hold several tokens, so you can give each environment or service its own credential and rotate one without touching the others. Rotating a token never changes your IPs.

- Fixedmark stores only a hash of each token. Copy the token when you create it.
- A token can carry a **destination allowlist**, for example `api.razorpay.com:443` and `db.example.com:5432`. The proxy refuses any other destination, so a leaked token cannot reach anything else.
- Proxy nodes check tokens locally from a cached copy. Authentication keeps working if the Fixedmark control plane is down.

## The TLS proxy endpoint

A classic HTTP proxy listens on plain TCP. Your client sends the credentials in a `Proxy-Authorization: Basic` header, which is base64, not encryption. Anyone on the network path between your app and the proxy can read the token.

Fixedmark's proxy URL uses `https://` on port 443. Your client opens TLS to the proxy first, then sends the CONNECT request and the credentials inside that TLS session. For HTTPS destinations this means two layers of TLS: one to the proxy, and your own session to the destination inside it.

Some clients cannot open TLS to a proxy: Java's built-in `HttpClient`, Ruby's `Net::HTTP` for HTTPS destinations, and old versions of other libraries. For these clients the same host serves a plain HTTP proxy on port 8080. On that port the token crosses the network unencrypted, so pair it with a destination allowlist.

## CONNECT tunnels and plain HTTP requests

For an `https://` destination, your client sends `CONNECT api.example.com:443`. The proxy checks the token and the destination allowlist, connects from your static IP, replies `200 Connection Established`, and then copies bytes in both directions. It reads the TLS SNI for connection logs and nothing else.

For an `http://` destination, the client sends the full request to the proxy, such as `GET http://example.com/`. The proxy forwards it. That request is plain text on the internet anyway, so prefer HTTPS destinations.

Usage counts a request as one new CONNECT or SOCKS session, or one plain HTTP request. Clients that reuse connections send many HTTPS requests through one tunnel, which uses fewer requests from your plan.

## SOCKS5, socks5 and socks5h

SOCKS5 carries any TCP connection: Postgres, MySQL, MongoDB, Redis, SSH, or SFTP. It authenticates with your app ID and token as username and password. Plain SOCKS5 on port 1080 does not encrypt that, so the token crosses the network in clear text on this hop. Port 1443 serves SOCKS5 inside TLS, which encrypts the token, and `fm tunnel` always uses it. Your database's own TLS protects the data either way.

The scheme decides where DNS happens:

- `socks5h://` sends the host name to the proxy. The proxy resolves it in its region. Use this.
- `socks5://` tells many clients, including curl and Python requests, to resolve the name locally and send an IP. Your local resolver sees every lookup, and geo-DNS can return an address meant for your app's region instead of the proxy's.

Some clients ignore the difference. Go's `net/http` treats `socks5` the same as `socks5h`, and the MongoDB Node.js driver always sends the host name.

## Which protocol to use

_Choosing a protocol_

| Traffic                             | Use                                                   | Guide                                                          |
| ----------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------- |
| HTTPS APIs                          | HTTPS proxy URL on port 443                           | [HTTP client guides](https://fixedmark.com/docs#first-request) |
| Databases with a SOCKS5 option      | SOCKS5 URL with `socks5h://`                          | [Databases](https://fixedmark.com/docs/databases)              |
| Databases without proxy support     | `fm tunnel` (planned)                                 | [fm tunnel](https://fixedmark.com/docs/cli)                    |
| SSH and SFTP                        | SOCKS5 or `fm tunnel`                                 | [Databases](https://fixedmark.com/docs/databases#other-tcp)    |
| Clients without HTTPS proxy support | Plain HTTP proxy on port 8080, SOCKS5, or `fm tunnel` | [Java](https://fixedmark.com/docs/java)                        |

## Platform guides

- [Vercel](https://fixedmark.com/integrations/vercel)
- [Railway](https://fixedmark.com/integrations/railway)
- [Heroku](https://fixedmark.com/integrations/heroku)
- [AWS Lambda](https://fixedmark.com/integrations/aws-lambda)

## Frequently asked questions

### Why does Fixedmark give me two IPs instead of one?

Two IPs on two nodes keep egress working when one node fails or is replaced. Each new connection can leave from either IP, so you allowlist both once.

### Can Fixedmark read my HTTPS traffic?

No. For HTTPS destinations the proxy opens a CONNECT tunnel and relays encrypted bytes. TLS runs between your app and the destination, and the proxy holds no keys for it.

### What is the difference between socks5 and socks5h?

With socks5:// many clients resolve the host name locally and send an IP to the proxy. With socks5h:// the client sends the host name and the proxy resolves it. Use socks5h:// so lookups happen in the proxy's region and do not leak to your local resolver.

### Do my IPs change if Fixedmark replaces a server?

No. IPs are managed separately from servers. Replacing a node moves the IP to the new node instead of allocating a new address.
