When you deploy molgenis to a server, the server's firewall will shield the services from unauthorized access.
When you're running on a development machine, you'll want to disallow access to the database and ElasticSearch index you are running to non-localhost clients.
ElasticSearch
Provide the following configuration items as Runtime Properties when running from your IDE tomcat or when running integration tests in maven: