Can't Communicate with Cassandra Server via Browser

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
KTH
Posts: 2
Joined: 26. May 2015, 05:37

Can't Communicate with Cassandra Server via Browser

Post by KTH »

Hi,

Running: Mac OS X version 10.9.5, VirtualBox 4.3.28, CassandraVM- 2.0.7

I am new to virtualbox and cassandra and am trying to install both using the tutorial at planetcassandra

After following all of the instructions, I attempt to access the CassandraVM through my chrome browser using the provided address (10 0 2 15 ). According to the instructions I should see two terminal windows, but the connection just times out. I double checked my network connection settings in VirtualBox:

Adapter IPV4 Address: 10 0 0 254
Adapter IPv4 Network Mask: 255 255 255 0

DHCP Server Address: 10 0 0 1
DHCP Server Mask: 255 255 255 0
DHCP Lower Address Bound: 10 0 0 2
DHCP Upper Address Bound: 10 0 0 2

I have also tried it two other ways, once with default DHCP Server numbers and once with
the same numbers above except for the Adapter IPV4 Address.

I have also tried PINGing 10 0 2 15 with no success. Suggestions?

-KTH
KTH
Posts: 2
Joined: 26. May 2015, 05:37

Re: Can't Communicate with Cassandra Server via Browser

Post by KTH »

Just so you know, I had to omit the periods in the IP address in order to post this message. The tutorial I was using is here on planetcassandra: /install-cassandra-ova-on-virtualbox/
BillG
Volunteer
Posts: 5104
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Can't Communicate with Cassandra Server via Browser

Post by BillG »

I would not try to access the vm from the host using a 10. IP address. Set the NIC in the vm to "host-only" and check what IP address it receives (it should be 192.168.56.x), then use that IP address in your browser on the host to access the vm.
Bill
Post Reply