← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16603: Don't bind to all interfaces in hazelcast, only listen to localhost by default

 

------------------------------------------------------------
revno: 16603
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-09-01 21:32:16 +0700
message:
  Don't bind to all interfaces in hazelcast, only listen to localhost by default
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml	2014-09-01 13:08:32 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml	2014-09-01 14:32:16 +0000
@@ -23,6 +23,10 @@
       </join>
   </network>
    -->
+  <properties>
+    <property name="hazelcast.rest.enabled">false</property>
+    <property name="hazelcast.socket.bind.any">false</property>
+  </properties>
   <network>
     <interfaces enabled="true">
       <interface>127.0.0.1</interface>
@@ -33,4 +37,4 @@
     <max-size policy="PER_NODE">800000</max-size>
     <eviction-policy>LRU</eviction-policy>
   </map>
-</hazelcast>
\ No newline at end of file
+</hazelcast>