No, Constantinople (modern Istanbul) does not lie on the Mediterranean Sea.
The city straddles the Bosporus Strait, a narrow, winding waterway that connects the Black Sea to the north with the Sea of Marmara to the south. The Sea of Marmara, in turn, connects via the Dardanelles Strait to the Aegean Sea, which is an embayment of the Mediterranean.
So while Istanbul is connected to the Mediterranean via the Turkish Straits system, its shores face the Bosporus, the Sea of Marmara, and the Golden Horn—not the open Mediterranean.