Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows XP system with CF8 development edition setup on a Parallels VM on my OS X machine that I use for development.

CF8 is using the built-in webserver, so I access my development sites on this VM on localhost:8500.

So, I would like to be able to access the localhost of my VM from OSX, so that I can test my development sites on Safari, and the iOS simulator without having to install CF8 on OSX.

Any idea how to do this?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It depends on how you set up networking (if you want to share that web server to your local network, bridged networking is probably the recommended option).

Generally, your VM has its own IP address assigned by the Parallels network adapter. Find it out through the ipconfig command (ran under cmd) in your Windows installation or by looking at the connection's details. Don't forget to disable the firewall.

Also, I don't know about CF development server, but if it has an option only to allow local connections, disable this as well, since the requests from your host will seem to come from another machine.

In OS X, open up Safari, enter the IP address and the port of your Windows machine in the address bar.


Related Stack Overflow questions:

share|improve this answer
    
I use this method (along with custom DNS entries in my HOSTS file) all day long, and have for several years. Definitely works well. –  Dan Short Oct 12 '11 at 17:14
    
@DanShort So there's no specific configuration to make in CF server? –  slhck Oct 12 '11 at 22:32
1  
Nope, just remember that as far as your Mac and Windows are concerned, they're different computers. Parallels is just a go-between, and you need to treat the Windows box as if it's a machine sitting on the other side of your house, not on the same hard drive as OSX. –  Dan Short Oct 13 '11 at 1:50

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.