I did the getting started tutorial with nomad and after I was done, I wanted to test starting an agent from a config file and the old server and client agents from the tutorial seem to be hanging.
When I run :
nomad agent -config=./server.hcl
I get:
Error starting agent: server setup failed: Failed to start RPC layer: listen tcp 0.0.0.0:4647: bind: address already in use
…
Even after restarting my computer, I was still able to access the nomad ui on localhost:4646 and the server leader node was still running. Which is all very confusing to me.
I’d like to find a way to clean up all of nomad’s stuff from my mac and start over with a new config from a file but I can’t seem to find a way to stop or delete the already running cluster.
Any help would be appreciated thanks!