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 <rsvi...@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 <dep...@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. > >