I have oil leaking out of the ECT coneection on the top drivers side of the motor on 2002 Pontiac Sunfire

the leak only occurs when the car is running , what could be the problem?

Asked by for the 2002 Pontiac Sunfire
If oil is leaking out of it, it is not the ECT (Engine Coolant Temperature sensor) it is probably the Oil Pressure Sending unit and it needs to be replaced.