This page is a collection of cheat-sheets for things that I forget often how to do.

Docker

RabbitMQ

docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.12-management

MongoDB


MISC

PID

As administrator, open the command prompt and run:

netstat -aon | findstr <PORT>

After finding out the PID of the offending process, kill it:

taskkill /PID <PID> /f