The most convenient way is to leave your car at the car park at the marina (the parking charges are usually € 5 to 10 per night).
There are often public car parks located near ports, where prices are lower.
The cheapest (free) solution is to leave your car near marina – provided that you will find a suitable place.