Based on observations by Bailer-Jones et al. (2018) who propose a close fly-by of the K-type star Gliese 710 in approximately 1.36 Myr we investigate the immediate influence of the stellar passage on trajectories of Oort cloud objects. Using a newly developed GPU-based N-body code (Zimmermann (2021)) we study the motion of 3.6 million testparticles in the outer Solar system where the comets are distributed in three different "layers" around the Sun and the 4 giant planets. We study the immediate influence of Gliese 710 at three passage distances of 12000, 4300, and 1200 au. Additionally, different inclinations of the approaching star are considered. Depending on the passage distance a small number of comets (mainly from the disk and flared disk) is scattered into the observable region (< 5 au) around the Sun. In addition, a huge number of comets (mainly the ones directly in the path of the passing star) shows significant changes of their perihelia. But, they will enter the inner Solar system a long time after the stellar fly-by depending on their dynamical evolution.