# Cluster setup error

**URL:** https://discuss.aerospike.com/t/cluster-setup-error/242
**Category:** Configuration
**Created:** [August 16, 2014, 12:42am UTC](https://discuss.aerospike.com/t/cluster-setup-error/242 "2014-08-16T00:42:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![oldforum](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@oldforum](https://discuss.aerospike.com/u/oldforum)
#### Post date: [August 16, 2014, 12:42am UTC](https://discuss.aerospike.com/t/cluster-setup-error/242/1 "2014-08-16T00:42:51Z")

</div>

Post by amdalal » Fri Aug 02, 2013 1:30 am

Hi,

I am trying to setup a 2 node cluster. I have aerospike server installed on two machines (with IPs: IP1 and IP2). I’ve copied /etc/citrusleaf/citrusleaf.conf from server1 to server2.

Only difference b/w two files is:

SERVER1:

```auto
heartbeat {
#mode multicast
#address 239.1.99.108
#port 9918
# To use unicast-mesh heartbeats, comment out the 3 lines above and
# use the following instead. The parameters are confusing so read the documentation. 
mode mesh
port 3002
mesh-address IP2
mesh-port 3002
interval 250
timeout 50
}

```

SERVER2:

```auto
heartbeat {
#mode multicast
#address 239.1.99.108
#port 9918
# To use unicast-mesh heartbeats, comment out the 3 lines above and
# use the following instead. The parameters are confusing so read the documentation. 
mode mesh
port 3002
mesh-address IP1
mesh-port 3002
interval 250
timeout 50
}

```

---

<div class="post-metadata">

### Author: ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)
#### Post date: [August 16, 2014, 12:44am UTC](https://discuss.aerospike.com/t/cluster-setup-error/242/2 "2014-08-16T00:44:01Z")

</div>

You may also need to set the “address” field as in the multicast section. This will tell the server which IP address to listen to.

Another thing to check is if the port itself can be heard. You may want to just telnet to the other IP and port to check.

Is this in a cloud environment like EC2?
