Check your .htaccess file for a rewrite rule that specifies 127.0.0.1 that may have been added by a plugin.
For example, if you use the AIOWPS plugin on a multisite installation and have enabled the "Block Spambots from Posting Comments" feature, a rewrite rule is added to .htaccess that redirects comment posts to 127.0.0.1 if the referer does not match the primary domain.
#AIOWPS_BLOCK_SPAMBOTS_START
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} ^(.*)?wp-comments-post\.php(.*)$
RewriteCond %{HTTP_REFERER} !^http(s)?://primary\.example\.com [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule .* http://127.0.0.1 [L]
</IfModule>
#AIOWPS_BLOCK_SPAMBOTS_END
You can disable this feature and add a cutom rule that preserves its functionality by checking to see if the REFERER header contains the same domain name as the HOST header.
#BLOCK_SPAMBOTS_START
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} ^(.*)?wp-comments-post\.php(.*)$
RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule .* http://127.0.0.1 [L]
</IfModule>
#BLOCK_SPAMBOTS_END
see: http://tltech.com/info/referrer-htaccess/