A tram line runs the length of the coast , from De Panne on the French border , via the port of Ostend ( Oostende ) , to Knokke-Heist on the Dutch frontier . A tram line runs the length of the coast , from De Panne on the French border to Knokke-Heist on the Dutch frontier .