Skip to Content
gpuvoxDocumentation
Machines

Ports and services

Reach a server running on the machine from your own computer.

Only SSH is reachable from outside. Anything else you start, a model API, ComfyUI or Jupyter, you reach through an SSH tunnel. It is encrypted, needs no firewall rules, and nobody else can open it.

ssh -p 40122 -N \
  -L 8080:localhost:8080 \
  -L 8188:localhost:8188 \
  -L 8888:localhost:8888 \
  [email protected]

-N keeps the tunnel open without a shell. While it runs, open http://localhost:8080 on your computer.

ServicePort it listens on
llama-server8080
vLLM8000
ComfyUI8188
Jupyter8888

Address already in use

If a port is taken on your computer, map it to another one: -L 9080:localhost:8080, then open http://localhost:9080.

Calling the API from code on your computer

With the tunnel open, a server on the machine behaves like a local one:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8080/v1", api_key="none")
reply = client.chat.completions.create(model="local", messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)