This paper considers the design of output tracking and feedback controllers for nonlinear stochastic systems. The system status cannot be measured. The studied system contains nonlinear state functions, noise disturbances and time delays. We use the free weight matrix method to avoid the conservatism caused by the use of model transformation or cross-term bounded techniques. Based on the Lyapunov-Krasovskii functional method, we propose an output tracking and feedback controller design method based on linear matrix inequality (LMI). Numerical examples show the validity of the obtained results.