  We have performed numerical simulations of the interaction between "hot
Jupiter" planet and gas of the stellar wind using numerical code developed for
investigations of binary stars. With this code we have modeled the structure of
the gaseous flow in the system HD 209458. The results have been used to explain
observations of this system performed with the COS instrument on-board the HST.
