Koper can trace its name back to the Roman town of Caprea. In 1278, the town voluntarily joined Venice and was later renamed Capo d'Istria — hence the Italian name. Once part of the Venetian republic, it was ceded to Austria in 1797 and then to Italy in 1918; however, much of Koper's Italian inhabitants fled after WW2 when the town was assigned to the Free Territory of Trieste, most of which was administered by and later incorporated into Yugoslavia. The Communists built an unattractive sprawl of factories and warehouses to the south, but mercifully left the old town almost entirely untouched, and it's this that draws the (comparatively few) tourists who venture this way.
Koper is easily reachable with bus and train. The train and bus stations are adjacent and located about 1 km south of the Muda Gate to the old city. The nearest airport is in Trieste (64 km), although Ljubljana's (124 km) is also an option.
From Ljubljana, there are hourly buses and 5-6 trains daily, both taking around two hours. There are also direct services to Trieste in Italy between 3 and 6 times a day costing about €3. The journey between Trieste and Koper takes between 30 and 60 minutes.
By Cruise Ships
Cruise ships dock at the City's port fairly regularly in the summer season, often on weekends, as part of some Mediterranean and Adriatic itineraries. For cruise passengers not wanting to utilise their ship's shore excursion services, you can simply walk out of the dock and be in Koper Old Town in a matter of minutes. Alternatively, exit the Pier and follow the road right, past the picturesque little marina and market about 5-10mins to the roundabout at the junction of Piranska cesta and Pristaniska ulica. From here you can get buses to Piran, rather than making the 25min walk to the main City bus station. As of May 2016, the bus cost 3.10 euros one way.
When cruise ships dock, a number of local tour companies will be touting at the pier, offering tours to places such as Ljubljana, Bled, Trieste, Postojna Caves, Piran and Skocjan Caves - the majority of these will almost certainly be cheaper than the tours offered by cruise lines - just ensure they will get you back to the pier in time for you departure!
Koper's Old City can easily be covered on foot.
Koper's main sight of interest is the Venetian-era old city, which is in much worse shape than that of Piran, but hence also feels more real. Repairs and restoration are slowly under way.
The center of the old city is Tito Square (Titov trg), an austere piazza surrounded by slowly crumbling palazzi. From here, the cobbled Čevljarska ulica leads south and Kidričeva ulica leads west to the marina.
There are no glamourous beaches to speak of, although the very well kept city's beach, on the northwest edge of the Old Town near the Marina, has it all: a small bathhouse with toilets and showers, grassy areas with trees for lying the sun, large trees for cooling down in the shade, kids plagrounds and a bar and cafe. The access is free.
The rest of Slovenia's short coastline is easily accessible from Koper. Public bus service is available every 20 minutes to: