This guide walks you from a fresh install to a live public URL for your local server.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/outray-tunnel/outray/llms.txt
Use this file to discover all available pages before exploring further.
Install the CLI
If you have not installed OutRay yet, install it globally:See Installation for yarn and pnpm instructions, and for how to verify your install.
Log in to your account
Authenticate the CLI with your OutRay account:A browser window opens for you to sign in and select an organization. See Authentication for the full login flow.
Start your local server
Make sure the service you want to expose is running locally. For example, a Node.js app on port 3000:OutRay works with any server on any port — HTTP APIs, frontend dev servers, webhooks, and more.
Open the tunnel
Point OutRay at the port your server is listening on:You can also use the shorthand — just pass the port number directly:OutRay connects and prints your public URL:
Share the URL
Copy the
https:// URL from the output. Anyone with the link can now reach your local server over the internet — no port forwarding or firewall changes needed.Incoming requests are logged to your terminal in real time as they arrive.Other tunnel types
outray http is the most common starting point, but OutRay also supports raw TCP and UDP tunnels for databases, game servers, and other non-HTTP services:
HTTP tunnels
Custom subdomains, password protection, custom domains, and request logging options.
Authentication
Browser login, API keys, organization switching, and token refresh behavior.