Near the entrance to Sunda Kelapa, several old VOC (Vereenigde Oost-Indische Compagnie; the Dutch East India Company) warehouses, dating to 1652, comprise the Museum Bahari. This is a good place to learn about the city’s maritime history, with a sprawling series of galleries covering everything from nautical legends and famous explorers to WWII history in the archipelago. Parts of the museum were damaged in a 2018 fire and are being restored; the unaffected areas of the museum remain open.
In the museum you'll find a sextant (used for astronomical navigation), various traditional boats from around Indonesia, the shell of a giant clam, plenty of pickled fish and a lighthouse lamp or two. The sentry posts outside are part of the old city wall. Also included in the price is the 1839 Syahbandar Menara observation tower, just before the entrance to the maritime museum.