Why couldn't the confederacy defend their ports