Origin of Porte
Porte reaches English through Middle French, Turkish and Arabic. Porte today means “The Ottoman court;, the government of the Ottoman empire”.
Etymology of Porte
From Middle French porte (“gate”), ultimately after Ottoman Turkish باب عالی (Bâb-ı Âli, “Exalted Gate”), from Arabic بَاب (bāb, “gate”) and عَالِيّ (ʕāliyy, “high, exalted”), a synecdoche for the Ottoman government originally referring to the outer gate of the sultan's Topkapı palace at which justice was administered, and later to the gate of the palace of the grand vizier.
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.