XmlHttpRequest status = 0 on remote server, status 200 on localhost
Can you re-try the failing request with Chrome's Developer Tools (Tools --> Developer Tools) activated and post here the headers of the request and the response (in the Network tab), and any error message in the Console tab?