Static IP guide

Making API requests with a static IP from a Go app on Render

Render runs Go services natively, and Fixie needs only the standard-library treatment: url.Parse the FIXIE_URL you added to the service environment, set it as the Transport proxy, and allowlisted APIs see a constant address. Setting HTTPS_PROXY instead proxies every client that uses the default transport.

RuntimeGo
PlatformRender
DestinationAPI allowlisting
Fixie productFixie HTTP/S proxy

Recommended setup

Use Fixie HTTP/S proxy for HTTP and HTTPS requests to an API, webhook provider, or service that allowlists outbound IP addresses. Store the proxy value in FIXIE_URL, then configure Go to route outbound traffic through Fixie before connecting to API allowlisting.

Set up Fixie on Render

Create a Fixie HTTP/S proxy in the Fixie dashboard. Copy the proxy value into Render Environment Variables as FIXIE_URL, and copy the outbound IPs into the destination allowlist.

Implementation

The example below shows the core application-side change. Keep credentials in environment variables and avoid committing proxy, database, or API secrets.

Make an HTTP request through FIXIE_URL

package main

import (
  "net/http"
  "net/url"
  "os"
)

func main() {
  fixieURL, err := url.Parse(os.Getenv("FIXIE_URL"))
  if err != nil {
    panic(err)
  }

  client := &http.Client{
    Transport: &http.Transport{Proxy: http.ProxyURL(fixieURL)},
  }

  _, err = client.Get("https://api.example.com/data")
  if err != nil {
    panic(err)
  }
}

Good to know

  • Multiple Render services can share one Fixie proxy via an environment group, or use separate proxies to keep per-service request logs apart.
  • Go reads proxy environment variables once per process start — changing the Render env var triggers a redeploy, which is enough.

Allowlist and test the static IPs

  1. Open the Fixie dashboard and copy the outbound IP addresses for this proxy.
  2. Add both IPs to the API provider.
  3. Deploy the updated Go app on Render.
  4. Run a small connection test before sending production traffic.

Related guides

Related docs