If you have heaps of things running locally in docker containers and other development realted things you may run into port clashes, you can use
netstat which should be installed with Windows to identify used ports.
netstat -a -n
What do those switches mean?
-a Displays all active TCP connections and the TCP and UDP ports on which the computer is listening.