Unsubscribe error clicking link in email

Hello,

I sent a test email to a friend. SMTP is set up correctly and tested working. Email sent successfully. We opened the email and clicked on the unsubscribe link. It took us to a blank page that said,

This site can’t be reached

localhost refused to connect

Try: Checking the Connection

ERR_Connection_Refused

Mobile phone
Andriod
chrome
outlook

I’m going to try and create an unsubscribe feedback form and select that and see if that resolves the issue.