Node.js Trading Bot Static IP — HTTPS and WebSocket on Port 443

Node.js Trading Bot Static IP — HTTPS and WebSocket on Port 443

Point a Node.js trading bot at a dedicated Indian static IP. undici/axios HTTP CONNECT and ws through HTTPS_PROXY on port 443 for Zerodha, Dhan and SmartAPI.

Set the proxy before any broker SDK loads

axios / fetch

WebSocket

Pass the same HttpsProxyAgent into the ws library. If the ticker connects direct, the broker sees the VPS IP and the REST whitelist no longer matches.

Jio / Airtel

Use port 443 only. HTTP CONNECT, not TLS to the proxy. Host is the dashboard allocation — not algo-ip.in.

Broker-specific portals: /brokers/zerodha, /brokers/dhan, /brokers/angel-one.