The light-front QCD is studied using the method of flow equations. Solving the light-front gluon gap equation, the effective gluon mass is generated dynamically. The effective interaction between static quark and antiquark, generated through elimination of the quark-gluon minimal coupling by flow equations, has the Coulomb, 1/q 2 , and confining, 1/q 4 , singular behavior. Elimination of the qu...