Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a Rails app running on Mac at http://localhost:3000 and I would like to access it from Windows 7, which is a guest OS running on VirtualBox.

Can you explain me how to do that?



locked by womble Nov 29 '15 at 9:24

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by Ward, womble Nov 29 '15 at 9:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

Make sure networking is active in the virtual machine and you can web browse, etc. from the Windows machine. Then you can enter the ip address of your Mac and the port in the web browser of the virtual machine and it should come up for you.

You can get your Mac's IP address from the system preferences (networking) or using ifconfig on the terminal application. Then use and your app should pop up for you.

Thanks! It works. – collimarco Aug 8 '09 at 13:15
You're welcome! – Bart Silverstrim Aug 9 '09 at 1:48

Just in case others read this more recently... by doing ifconfig or ipconfig /all (in windows) guest.. you can get yor gateway ip.. which will be your host...

thus say your gateway is 10.x.x.x in guest... (and on host it is somethign else), just

try http://10.x.x.x/ (add port as desired).


This works too. – radixhound Feb 5 '13 at 17:42

Try http://your.mac.ip.address:3000


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