Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm new to virtualBox so please bear with me.

I have a win 7 Ultimate N host (my physical machine) I have a virtual machine with win 2008 server running sharepoint which I want to access from public internet.

My Host virtual IP: 192.168.56.1 My Host physical IP: 192.168.0.15

MY Virtual machine (Guest) IP: 192.168.56.102

WHat I have done so far....

  1. Activated NAT adapter and using the port forward option: Host: 192.168.56.1 Host port: 10000 Guest: 192.168.56.102 Guest port: 80

  2. On my router/modem's firewall forwarded port 10000 requests to: 192.168.0.15

  3. Rebooted Virtual Machine.

However, when I browse even from my physical machine to: 192.168.0.15:10000 nothing happens. And when I click diagnose in IE, it finally gives me: "The remote device or resource wont accept the connection".

I can browse the sharepoint site from my physical machine by using the virtual box ip address and machine name: 192.168.56.102

SO I turned off windows firewall, but still mo joy.

share|improve this question
add comment

1 Answer

You may want to consider switching the guest over to using bridged networking instead. This means the guest will request it's own address from your NAT:ing modem. If you can tell your modem to assign a specific IP, you can then make sure your server gets a persistent address that the modem can forward too.

This of course still requires firewalls to be properly configured or turned off.

share|improve this answer
    
Do i need to get my modem to assign an ip to the guest machine? –  Perplexed Aug 24 '12 at 12:52
2  
OK after changing to bridged connection, my guest gets assigned an ipaddress from the modem automatically (192.168.0.13). I can now browse the website using this ipaddress however, after I put a port forwarding rule into my modem/router to send any requests for port 12000 to this ip address, i cannot access the website using my <public ip>:12000 –  Perplexed Aug 24 '12 at 15:24
add comment

Your Answer

 
discard

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.