Run mongodb from remote server

I am new to mongodb and want to know about connecting to remote server. I have mongodb running on remote server. I want to access the mongo database from another server and perform all the operation. How can i do that. I am using node.js with mongodb. Please help me how can i establish the connection.

You can use the following library for node:
https://github.com/christkv/node-mongodb-native

If you want a tool to access the database, you can use:
MongoHub (for Mac) & MongoVUE (for Windows)

Good luck!