The coastal fortifications and artillery batteries positioned around Gdansk harbor, which were designed to deter a naval invasion, proved insufficient against German forces.