Skip to main content

Windows: PowerShell

Follow these steps to setup Runops proxy mode on Windows using PowerShell:

  1. Download and Install nodejs
  2. From the start menu, open the PowerShell application
  3. Install Runops CLI. Paste this command on PowerShell:
npm install -g runops
  1. Login to Runops. Paste this command on PowerShell:
runops login
  1. Download the proxy application and extract its contents.
  2. Back on PowerShell, access the Downloaded folder:
cd Downloads\rproxy_0.2.0_Windows_x86_64
  1. Start the proxy
rproxy.exe postgres -c <your database name>
  1. Open your database client and create a connection with the data:
  • Hostname: 127.0.0.1
  • Username: runops
  • Password: runops
  • Port: 5433

That's it, your client is connected to the database!

Repeat steps 3 and 6 to restart your connection. For security reasons Runops asks you to login again every few hours. Repeating these steps reestablishes your connection.