A coastal defense system that is used by the military to protect a coastline or port from attack.