Ulster's bonus-point joy
Edinburgh 20 Ulster 32
Ulster put behind them weeks of misery both on and off the field to secure a confidence-restoring bonus-point victory that keeps hopes alive of the province reaching the PRO14 play-offs.
Edinburgh opened the scoring with a Duncan Weir penalty but Ulster's reply was emphatic as Charles Piutau and Jacob Stockdale combined to put Darren Cave in for an opening try, converted by John Cooney for a 7-3 lead.
A second Weir penalty again brought a spectacular response as this time Piutau was the finisher from a clever back move.
Stockdale then cut through Edinburgh's midfield defence before putting Cooney in for his side's third try. The scrum-half converted his own try.
Weir then intercepted Cooney's pass before running 55 metres for a try under the posts which he duly converted. Blair Kinghorn broke clear only for the Edinburgh full-back to kick the ball dead, leaving the visitors with a 19-13 interval advantage.
A penalty by Cooney stretched the lead before the hosts were awarded a penalty try, making it 22-20.
Ulster's narrow lead was widened with another penalty from Cooney before Iain Henderson burst from a ruck to score the last try, and secure a bonus point.
Edinburgh - B Kinghorn; D Fife, M Bennett, P Burleigh (C Dean 50), D Van Der Merwe; D Weir, S Hidalgo-Clyne (S Kennedy 60); J Lay (R Sutherland 55), S McInally (N Cochrane 60), S Berghan (WP Nel 55), B Toolis (L Carmichael 55, G Gilchrist, M Bradbury, J Ritchie, V Mata (C du Preez 55)
Ulster - C Piutau; L Ludik (T Bowe 38), D Cave, S McCloskey, J Stockdale; J McPhillips, J Cooney; A Warwick (T O'Hagan ), R Best (R Herring 74), T O'Toole (R Ah You 60), M Dalton (A O'Connor 45), I Henderson, M Rea, N Timoney, (S Reidy 71) J Deysel.
Ref - N Owens (Wales)