Using the server from another machine
The server listens only on its own machine (localhost) by default. To use Kotiko on a laptop
with a server at home:
- Set
BINDinserver/.envto the server's Tailscale IP address, or to0.0.0.0on a network you trust. - Restart the server.
- In Kotiko's Settings, Your Kotiko server, use
http://<that address>:4747.
Tailscale encrypts the traffic. On a plain local network the access key travels unencrypted, and the server warns about that when it starts.
Names and proxies
Section titled “Names and proxies”The server answers only to localhost, IP addresses and its own machine's name, so a website
can't reach it through DNS rebinding. To reach it by another name (a Tailscale MagicDNS name,
a reverse proxy), add that name to ALLOWED_HOSTS in .env, separated by commas. Behind a
proxy, set PUBLIC_URL to the address Kotiko should use. See the
configuration reference.
