cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Svihla <rsvi...@datastax.com>
Subject Re: Connect to C* instance inside virtualbox
Date Tue, 23 Dec 2014 02:01:53 GMT
totally depends on how the implementation is handled in virtualbox, I'm
assuming you're connecting to an IP that makes sense on the guest (ie
nodetool -h 192.168.1.100 and cqlsh 192.168.1.100, replace that ip with
whatever what you expect)?

On Mon, Dec 22, 2014 at 7:58 PM, Kai Wang <depend@gmail.com> wrote:

> Ryan,
>
> Actually after I made the change, I was able to connect to C* from host
> but not from guest anymore. Is this expected?
>
> On Mon, Dec 22, 2014 at 8:53 PM, Kai Wang <depend@gmail.com> wrote:
>
>> Ryan,
>>
>> it works! I saw this new config mentioned in Cassandra summit 2014 but
>> didn't realize it applied in my case.
>>
>> Thanks.
>>
>> On Mon, Dec 22, 2014 at 4:43 PM, Ryan Svihla <rsvihla@datastax.com>
>> wrote:
>>
>>> what is rpc_address set to in cassandra.yaml? my gut is localhost, set
>>> it to the interface that communicates between host and guest.
>>>
>>> On Mon, Dec 22, 2014 at 3:38 PM, Kai Wang <depend@gmail.com> wrote:
>>>
>>>> I installed C* in virtualbox via vagrant. Both 9160 and 9042 ports are
>>>> forwarded from guest to host. I can telnet to those two ports from host to
>>>> guest. But from my host, I can't connect to C* using cassandra-cli or
>>>> cqlsh. My host is Windows 7 64bit and guest is CentOS 6.5.
>>>>
>>>> Is there anything special about connecting to a C* instance inside
>>>> virtualbox?
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> [image: datastax_logo.png] <http://www.datastax.com/>
>>>
>>> Ryan Svihla
>>>
>>> Solution Architect
>>>
>>> [image: twitter.png] <https://twitter.com/foundev> [image: linkedin.png]
>>> <http://www.linkedin.com/pub/ryan-svihla/12/621/727/>
>>>
>>> DataStax is the fastest, most scalable distributed database technology,
>>> delivering Apache Cassandra to the world’s most innovative enterprises.
>>> Datastax is built to be agile, always-on, and predictably scalable to any
>>> size. With more than 500 customers in 45 countries, DataStax is the
>>> database technology and transactional backbone of choice for the worlds
>>> most innovative companies such as Netflix, Adobe, Intuit, and eBay.
>>>
>>>
>>
>


-- 

[image: datastax_logo.png] <http://www.datastax.com/>

Ryan Svihla

Solution Architect

[image: twitter.png] <https://twitter.com/foundev> [image: linkedin.png]
<http://www.linkedin.com/pub/ryan-svihla/12/621/727/>

DataStax is the fastest, most scalable distributed database technology,
delivering Apache Cassandra to the world’s most innovative enterprises.
Datastax is built to be agile, always-on, and predictably scalable to any
size. With more than 500 customers in 45 countries, DataStax is the
database technology and transactional backbone of choice for the worlds
most innovative companies such as Netflix, Adobe, Intuit, and eBay.

Mime
View raw message