Email not sending correct url on updating nginx port

I updated my nginx port and reload it, everything is working fine but when I sent welcome email, it send me previous port url how to resolve this?

Thanks for reporting this Khadija

A search

uncovered this Current procedure to change http port

No sign of that reported here so added it