The fortifications and coastal artillery positioned around Gdynia harbor, which were designed to deter a naval invasion, proved ineffective against the German air and sea power.