Just the ones at that planet

There's a Fleet command unit you can research into that supposed to allow the whole solar system to help defend while the attacker can only "attack" the planet defending units at the planet, but I believe it didn't mesh with a combat update so it hasn't been re-implemented yet.