01 / 06 · ConnectConnect to the whole server.
Open an SSH terminal and its SFTP file tree together. Your connection, files, and logs stay in the same workspace.
$ ssh deploy@prod-api-01
✓ Host key verified · connected
$ cd /etc/nginx
$ tail -n 1 /var/log/nginx/error.log
[error] upstream connection refused
upstream: http://127.0.0.1:3001
02 / 06 · EditFix the file where it lives.
Open /etc/nginx/nginx.conf straight from SFTP. Change the upstream port from 3001 to 3000 in the Monaco editor, then save back to the server.
$ ss -ltn
LISTEN 127.0.0.1:3000
✓ nginx.conf saved via SFTP
✓ upstream port: 3001 → 3000
03 / 06 · ContextGet an answer with context.
Attach the error, listening ports, and nginx.conf to your AI conversation. Your chosen provider can explain the mismatch and the next check.
✓ Attached: nginx.conf
✓ Attached: terminal output
04 / 06 · BrowseVerify the fix beside your code.
Check the configuration, reload nginx, and open the health endpoint in the integrated browser. Keep the result beside the commands that got you there.
$ sudo nginx -t
syntax is ok · test is successful
$ sudo systemctl reload nginx
$ curl -s localhost/health
{"status":"ok"} 05 / 06 · CollaborateBring a teammate into the fix.
Share the live terminal and discuss the result in the same window. Your teammate follows the output while the conversation stays next to it.
✓ Live session started
✓ Invite link copied
✓ Teammate joined
06 / 06 · WorkflowPick up where you left off.
Save the workspace with its tabs and split layout. Reopen it on this device; enable optional encrypted sync to carry supported workspace data across devices.
✓ Workspace saved: nginx-incident
✓ Tabs and split layout saved
✓ Ready to reopen on this device