I have a web application running in a tomcat container. I'd like to implement a distributed caching solution for the web app using hazelcast. I have a member which is running in local. How do I configure the client to run from inside the tomcat container and connect to the member running in local. Do I need to make any additional configurational changes for connecting to the MongoDB database.
You should configure your Hazelcast client to connect to your local cluster. You can find documentation about Hazelcast clients here. And here is how to configure client network.