So how to make, that i could dock there, and buy stuff???
This could be a real issue if there's no in-game way to fix the situation.
I've had the odd stray shot hit a station during a defence mission myself & they've gone red. Always struck me as odd that there's no response to the 20 or so original attackers but me, who's trying to help, manage to make local ships go red.
I've always just reloaded if the station went red as I'm unaware of a way to fix things. Sorry!