Since there was a port, there was also a railway, which connected the port with the capital of the island. Now it is a tourist railway. From Palma to the town of Soller you can get by the old train, then transfer to the old tram, which goes to the very center of Port de Soller.
Check the official website http://trendesoller.com/en/timetable/ for train and tram timetable and prices. As of 2019 the price of the tickets is very high. Tram 7 euros, train + tram - 32 euros.
Due to its location in the bay, there is a nice beach along the promenade. However, we would not have to swim here because of the large number of yachts. But the promenade is wonderful. Authorities spent on renovation several million euros and we recommend a walk here.
If you are travelling by car, then consider also visiting this place N 39 47.807 E 2 40.930. Parking near a lighthouse offers beautiful views of the bay.
Getting there: 35 kilometers from Palma. On the way there is the only paid place on the island, but out of season (November) we did not pay anything. Parking is here N 39 47.372 E 2 41.666. Or by bus 211 from Palma (schedule and map).