Here's how to fix it:
Step 1: Find and kill whatever's using port 8080 (on your Mac mini)
lsof -i :8080
# Then kill it with: kill -9 <PID>
Step 2: Configure code-server to bind to all interfaces
Edit the config file:
nano ~/.config/code-server/config.yaml
Change it to:
bind-addr: 0.0.0.0:8080
auth: password
password: your-secure-password
cert: false
The key change is 0.0.0.0 instead of 127.0.0.1 - this makes it listen on all network interfaces including Tailscale.
Step 3: Restart code-server
code-server
Alternative: Run with flags directly
code-server --bind-addr 0.0.0.0:8080