Question: when was the last time the dodgers went to the world series
Answer: The Dodgers won the pennant in 2017 and 2018 , but lost the World Series to the Houston Astros and Boston Red Sox respectively .