Lets start again. you say it is a vertical pipe? this is normally the HW overflow
was hot water or cold water coming out? if hot then this is again the HW overflow but it would not have been fixed by a washer replacement
if it was horizontal and cold water coming out then it is the header tank overflow. which might have been fixed with a washer. (it works the same way a toilet works)

