ghost port listener

I have a email listening service that I started. I stopped the service and changed the name and then restarted the service - but now I find that didn’t stop the original service and now I have two port listening services going to two different methods. How do I stop the ghost listening service other than bouncing IS? is there a way to see it?

UNix of Windows?