What is causing wp-comments-post.php to redirect to the browser’s IP address?

Check your .htaccess for possible redirects to the old ip address.

i’m filling up the response with text because, honestly there’s nothing much to say 😉

reference .htaccess

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)