Looking from rear of car, it connects just to the left of the ECU bracket near the top of the engine bay.
Best bet is to "fiddle " the wire and look for movement near the ECU
Very fiddly to get new cable up there, so drop a small wire from the top, to pull it back up after replacing.