Leakage occurring in the tube sockets of the main steam thermometers can seriously threaten the safe operation of coal-fired power plants. Here, assuming a 300 MW unit as a relevant testbed, this problem is investigated numerically through solution of the equations of fluid-dynamics in synergy with the mathematical treatment of relevant statistics. The results indicate that the steam can form a large-scale spiral flow inside the tube socket and continuously scour the inner wall. In the model with the protective casing setting angle of 60°, the average tangential fluid velocity can reach up to 4.8 m/s, which is about twice higher than that in the model with the protective casing setting angle of 0°. The wake disturbance generated by the flow around the thermo-sensitive body leads to differences in the fluid motion inside the tube sockets between the upstream and downstream thermometers. These differences are affected by the distance between the thermometers, the setting angle of protective casing, and other factors. The pressure of the main steam inside the tube socket for a R3 thermometer, located outside the curved pipeline, is about 1756 Pa higher than that of the L3 thermometer located outside the straight pipeline, indicating that the secondary flow generated in the curved pipeline is able to provide stronger energy for the large-scale spiral flow inside the tube socket. On the basis of these findings, an improvement scheme for the installation of longitudinal ribs in the tube sockets is proposed. The simulation results show that the average tangential velocity of the fluid within the near-wall area of tube sockets decreases by more than 90%, which should be enough to effectively alleviate the damage to the inner wall caused by high-pressure fluid or particles.