Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Linux newbie. I have just installed Ubuntu inside Vista using Virtual box. Everything is working fine. now i wanted to establish a client server (virtual) network with a guest os (ubuntu) to connect to the cassandra server installed in ubuntu.

Can someone guide me on this.


share|improve this question

This is more of a Virtualbox question - have a read of

You'll either want NAT networking and specify which ports to forward, or full bridged network.

share|improve this answer

menu > run > type in cmd.exe

cd "C:\Program Files\Sun\xVM VirtualBox\"

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandrah/HostPort" 9160

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandra/GuestPort" 9160

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandra/Protocol" TCP

casandra client can now connect to localhost.

Or use "Bridged networking" and connect directly to ubuntu

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.