Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get localhost working on xp in parallels desktop

Im using parallels desktop on my macbook (lion os) and I want to get xampp/localhost to work on the version of XP I have installed so I am able to test my websites in Internet explorer.

Obviously I don't want to have to install two different versions of xampp on my parallels desktop as that would mean duplicating sql databases etc.

Anyone know how to do this?

Thanks for any help in advance!

like image 310
GSG Avatar asked Dec 26 '22 21:12

GSG


1 Answers

After further research I have found that if you go to Terminal and type in the command "ifconfig" and look for the "vnic1" section which is the last section to be printed and it has an ip address called "inet" e.g. "10.37.129.2" this will take you directly to local host.

If it doesn't work you must ensure that your parallels is set to a shared network under the preferences network section. Hope this helps others who are having difficulties.

like image 200
GSG Avatar answered Dec 29 '22 09:12

GSG