Skip to content

Type a word or two, like firewall or rollback.

Open Coresmith
Browse the docs
Reference Checked against Coresmith 0.8.46.

Server requirements

Open as Markdown

Systems

Ubuntu 24.04 and Debian 12 have had the most testing. Rocky Linux, AlmaLinux, Fedora and Amazon Linux are accepted too. Start from a fresh install when you can.

Access

Coresmith needs SSH as root, or as a user who can use sudo. It adds a key of its own for the server, and never asks for a password.

Ports

PortUsed for
Your SSH portCoresmith, and people signing in with their own keys
80 and 443Your apps' visitors. 443 also carries HTTP/3 over UDP.
Preview portsApps with Preview without a domain on, while it's on

Everything else coming in is closed until you open a port. Nothing going out is blocked.

Running other software

A server can run things Coresmith doesn't manage, such as a monitoring agent, and a server with no apps on it is fine too. Before you add your own services:

  • Keep them off Coresmith's ports. Apps use ports 8000 to 9999 on the server itself, server-side rendering uses 13700 to 13899, and previews use 20000 and up.
  • Leave Coresmith's pieces alone. The web server, the runtimes Coresmith installs and the apps' accounts belong to Coresmith. Changing them by hand can break deploys.
  • Debuggers need root. Processes can't inspect each other, so attaching a debugger to a running process takes root.
  • Check Docker's ports. Ports that Docker publishes skip the server's firewall rules, so check what Docker exposes before you rely on the firewall.

Coresmith leaves users, services, packages, cron jobs, firewall rules and SSH keys that you add yourself alone, and never flags them.