LONDON—European and British gas prices soared on Wednesday, with a benchmark Dutch gas price hitting a record high as countries said EU sanctions against Russia could target gas shipments, while some cargos of Russian liquefied gas changed course. Britain on Monday ordered Russian-associated vessels be blocked from its ports while officials from some European Union countries have said the 27-country bloc is considering a ban on Russian ships. The European Parliament on Tuesday called for the EU to close its ports to Russian ships or ships going to or from Russia. Although the Parliament does not set sanctions and its vote on Tuesday was non-binding, traders said it showed the direction of travel for possible tightening of measures against Russia which supplies around 40 percent of the bloc’s natural gas. Not all countries get supply directly from Russia, but if countries such as Germany, the biggest consumer of Russian gas, receive less from Russia, they …