Obtain a dedicated public IP and route your order traffic through it: provision a cloud/VPS with a reserved public IP or get a business/static IP from your ISP, then ensure all outbound order API requests originate from that single IP (use a NAT/gateway if you have multiple machines). 2) In your Upstox developer/app settings register that static IP as the primary (and add a secondary/backup IP if supported). 3) Configure your order engine so it runs from the machine or network gateway that uses the registered IP and secure your API keys and credentials.
Validate and monitor: from the registered server send test order API requests and confirm they are accepted (no “unauthorised IP” errors). 5) Put monitoring in place to detect any public-IP change and log all order activity with timestamps and source IP for audits. 6) Prepare a contingency: have a secondary static IP/server registered or a documented update procedure to change the whitelisted IP quickly if you migrate servers, and schedule non-disruptive model retraining so it does not alter the order-engine’s network footprint during trading hours.
setup static ip for upstox or aliceblue