Caddy server instance keeps running ever after reboot

I am running caddy on my local MacBook in my development environment and at some point I forgot to kill the Caddy instance I was using when I rebooted my laptop. Now every time I try to start it back up it tells me that there’s another caddy instance bound to the tcp port I am using in dev. This is the error message:

2019/05/17 11:01:36 Listen: listen tcp :3040: bind: address already in use

How do I find and kill this other instance of caddy? I am very new at all of this so sorry if its a dumb question.

I ended up helping myself and discovered the ps and killall commands. Found the instance that was running and killed it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.