The old Mediterranean port of Kotor is surrounded by a city wall built by the Republic of Venice . During the last years Kotor has been visited by many tourists , who are attracted by both the beauty of the Gulf of Kotor and the old town .
Kotor is the administrative center of Kotor municipality , which includes the towns of Dobrota , Risan and Perast , as well as many small hamlets around the Bay of Kotor .