Renewable hosting capacity normally serves as an important real-time operational index for assessing the capability of accommodating renewables in a distribution network (DN). This paper proposes a two-stage operation model to coordinate energy storage system (ESS) and static var compensator (SVC) to avoid violations of voltage magnitude and line capacity caused by intermittent renewables so as to enhance the renewable hosting capacity. This model comprehensively considers the uncertainties involved in photovoltaic (PV), wind generation and electrical load demand in the first stage and real-time operation states in the second stage. Furthermore, to improve the computational efficiency, a Benders decomposition based solution method is developed to tackle the time-coupling constraints at the first-stage optimization problem. The effectiveness of the proposed model and solution method are demonstrated through case studies on IEEE 33-bus distribution system.