backboneJS application runs fine in NodeJs but not in any other server?

I was trying to load a json file in Collection of BackboneJS. While trying to run this through nodeJS server, it works fine. But once put in a server environment like XAMPP or even in a remote server it does not work? Any link would be a nice help. ( For reference my code is at github : https://github.com/saumya/backboneJS-basics )

thanks

Hey thanks for the helping hand. Probably I did not understand the situation, so the question is not correct as I see now.

The modified question is:

  1. I have a frontend Application running on NodeJS server at some port.
  2. I am trying to load JSON from another server running on another server.

The answer of @Floby is the way I solved it. Its the CORS thing on the server which provides the JSON. It took me sometime to understand what is happening.