Skip to content

AS213941 · PeeringBlack Friday20% off your first month−20% with code BLACKFRIDAY26

Linux VPSFrom €2.49/monthWindows VPSFrom €3.49/monthFiveM serverFrom €0.99/monthMinecraft serverFrom €1.99/month
VPS & Cloud

Ranges

Linux NVMe VPSRoot access, Debian, Ubuntu, Alma…Windows RDP VPSRemote desktop, licence includedDedicated serversIntel Xeon Gold, exclusive resourcesPterodactyl VPSGame panel preinstalled

Network and hosting

Anti-DDoSWeb hostingColocationIP transitVPN

Professionals

Reseller VPSReseller programme
Solutions

Bots and automation

AI agents VPSA server for your coding assistants and autonomous agentsOllama VPSYour private AI without a GPU, data in FranceTelegram bot VPSPython or Node.js, always reachableDiscord bot VPSMusic, moderation, tickets: no downtimeVinted bot VPSMonitor and Discord alerts 24/7n8n VPSWorkflows with no execution limitVPN VPSAn encrypted tunnel exiting in FranceWeb scraping VPSScheduled data collection, dedicated IP

Trading

Forex VPSYour robots manage positions overnightMetaTrader 4 VPSSeveral MT4 terminals on one machineMetaTrader 5 VPSForex, indices and stocks in MT5NinjaTrader VPSFutures and NinjaScript strategiesProp firm VPSChallenges and funded accounts, terminal always onlineAfrica trading VPSMetaTrader in Paris, from North or West AfricaRDP VPSWindows remote desktop, always onTrading bot VPSOpen-source crypto bots, protected API keysCrypto VPSPay with Bitcoin, USDT, Monero and 7 more

Broker and prop firm VPS

FTMO VPSDedicated French IP, outside the USFundedNext VPSPrivate VPS for your EAsThe5ers VPSFixed IP, consistent locationIC Markets VPSWithout the 15 lots a month quotaPepperstone VPSMT4, MT5 and cTrader, fixed priceXM VPSNo $5,000 minimum balanceExness VPSSmall accounts welcome, 7 ms to LondonDeriv VPSSynthetic indices 24/7, weekends includedXAUUSD VPS (gold)Gold robot always connected, 7 ms to London

Windows desktop

Windows 10 VPSFor software that requires Windows 10Windows 11 VPSA modern Windows desktop, reachable anywhereSEO VPSLarge-site crawls without tying up your PCStreaming VPSAn OBS studio streaming from the data centreWordPress VPSFast websites on NVMe disks
Marketplace

AI

OllamaLocal language models, with no external APIOpen WebUIA chat interface for your Ollama modelsAnythingLLMA private AI assistant for your documentsLangflowVisual editor for agents, RAG flows and AI APIsFlowiseBuild AI agents and chatbots visuallyQdrantVector database for RAG and semantic search

Trading

MetaTrader 5Official MT5 terminal, ready for your EAsMetaTrader 4Official MT4 terminal, ready for your EAsForex VPS pack (MT4 + MT5)MT4 and MT5 together, on a VPS tuned for tradingNinjaTrader 8NinjaTrader 8 with its prerequisitesFreqtradeOpen-source crypto trading bot, in simulation modeInteractive Brokers TWS / IB GatewayTWS or IB Gateway, official stable version

Bots and agents

Claude CodeAnthropic's coding agent, in your terminalCodex CLIOpenAI's command-line coding agentTelegram botYour Telegram bot, with automatic restartDiscord botYour Discord bot, with automatic restartOpenClawOpen-source personal AI assistant, active 24/7Hermes AgentAutonomous open-source AI agent

Deployment and automation

DockerThe container engine and Docker Composen8nYour automations, with no execution limitPortainerManage your Docker containers from your browserCoolifyDeploy your applications from Git, on your own serverUptime KumaMonitor your sites and servers, with alerts

Websites and databases

WordPressThe most widely used CMS, on a fast Nginx stackApache + PHP + MySQLApache, PHP and MariaDB, ready for your sitesMySQL (MariaDB)MySQL-compatible database serverPleskPlesk hosting panel, with your own licenceNextcloudYour own cloud for files, calendar and contacts

Network and security

WireGuardYour encrypted VPN, preinstalled free of chargeVaultwardenA self-hosted password manager

Game servers

FiveMFiveM server with txAdmin and MariaDB, ready to useMinecraftTurnkey Minecraft Java server, plugins and mods includedRustRust server with automatic updates and Oxide or CarbonCounter-Strike 2Dedicated Counter-Strike 2 server, installed for youPalworldDedicated Palworld server, installed for youValheimDedicated Valheim server, installed for you
Gaming

Game servers

FiveM servertxAdmin, ESX, QBCoreMinecraft serverJava, Bedrock, modpacksRust serverOxide, Carbon, wipesNova-Life serverNova-Life: Amboise RP

Protection and tools

FiveM Anti-DDoSFree tools
Resources

Learn

DocumentationBlog

Assistance

ContactSLA commitment
View plans Client area Peering · AS213941

Trading · Interactive Brokers · 7 min

IB Gateway on a VPS: run Interactive Brokers 24/7

By the NVHCloud team · 25 Nov 2026 · 7 min

If you trade with Interactive Brokers using a script or bot that goes through the API (Python, Java, C#…), you need a connection to IB that stays open all the time. That is what IB Gateway is for. Installing it on a VPS keeps everything running when your computer goes to sleep. Here is how to do it, and the pitfalls specific to IB.

⚠️ Trading involves a risk of capital loss. Always test on a paper account before going live. NVHCloud rents the server; we are not affiliated with Interactive Brokers.

IB Gateway or TWS?

Interactive Brokers offers two programs that give access to the API: Trader Workstation (TWS), the full platform with charts, and IB Gateway, a lighter version with no trading interface. For a bot running on its own, IB Gateway is the better fit: it uses fewer resources and stays more stable over time.

Windows or Linux?

IB Gateway runs on both. On a Windows VPS, you install and configure it as on your PC, from remote desktop: that is the simplest. On a Linux VPS, you need a virtual display (such as Xvfb) because the software has a login window; it is more technical, but lighter.

API ports

Your script connects to IB Gateway on a local port. By default: 4001 for a live account and 4002 for a paper account (with TWS, they are 7496 and 7497). In the API settings, enable ActiveX and socket clients, and leave "Trusted IPs" on 127.0.0.1 if your script runs on the same VPS.

Daily restart and weekly authentication

This is the Interactive Brokers quirk. IB Gateway closes or restarts once a day: in the settings, choose automatic restart rather than exit, at a time when your strategy is not trading. IB also asks you to re-authenticate regularly, at least once a week, with two-factor authentication. Plan that moment into your routine.

To automate login and restarts, many users rely on IBC, a dedicated open-source tool. It does not replace two-factor approval when IB asks for it.

Securing the VPS

  • Never expose the API port to the Internet: your script should connect locally, or through a VPN.
  • Protect access to the VPS: strong password, and on Windows a restricted remote desktop access.
  • Keep Windows and IB Gateway up to date, outside your trading hours.

Which VPS for IB Gateway?

IB Gateway alone needs little: 2 to 4 GB of memory is usually enough, more if your script loads a lot of data or you run several connections. Stability and network proximity matter more than raw power. Our VPS are in Paris, at Equinix PAR6, with Anti-DDoS included, and come with no commitment.

💡 See the Forex VPS (Windows, licence included) or our Linux NVMe VPS. Our 3-question assistant helps you pick a size.

Linux NVMe VPS

Root access, Xeon Gold or Ryzen 9 and NVMe, ready in 60 seconds. From €2.49/month.