Hands-on task
The old instance didn't give up the port
A new version of the API was rolled out, but it won't come up: port 80 is still held by the old instance someone forgot to stop. Find the process on that port, stop it, and start the new version from /opt/api/run.sh in the background so that it survives the terminal being closed. You're done when http://localhost:80/ answers API v2. The Site tab above the terminal shows who's answering on port 80 right now: for now it's API v1.
- ss -p
- finding a process by port
- kill
- background start
- setsid