After i attempt to steer clear of the xampp apache from running, I recieve this error: "Error -1".

Exactly what does error mean and will i solve it?

You should close the apache service whilst not using any program that requires a nearby host?

Why I'm able to still enter local host around the browser after closing xampp by pressing the exit button?