Thanks imanassypov,
I have set the virtual box network settings to:
PCnet-FAST III (Bridged adapter, eth0)
and tried to connect to http://localhost:8080 and also http://192.161.11.5:80 but neither worked. (just times out)
~$ ssh -X -p 2222 localhost
ssh: connect to host localhost port 2222: Connection refused
below is some of the setup commands i used to setup port forwarding.
hopefully you can see where i have gone wrong. Thanks
Main Topics
Browse All Topics





by: imanassypovPosted on 2009-09-21 at 10:29:56ID: 25385309
It sounds that your guest virtual box (ubuntu server) is sharing the same ip address as your host machine (kubuntu). You need to switch your networking configuration from 'nat/shared mode' to 'bridged mode' and statically assign a different ip address to your virtual appliance. Once that's done, depending on your firewall, you have to configure a one-to-one network adress translation (NAT) that would point to your virtual box private address. In home firewall setup, you are usually given only one public ip address and your firewall might not allow you to do the NAT. In which case you will have to forward your inbound tcp 80 and tcp 443 ports from your public address to the virtual appliance.
If you have not done any changes on your firewall yet, that is the reason you are not reachable. home firewalls do not forward any inbound ports by default.