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

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 15 hours ago

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.

put on hold as off-topic by Ward, womble 15 hours ago

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.

3 Answers 3

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.