Quantcast

Localhost on Parallels / Win XP doesn't work?

Ivan's picture

I'm running MAMP on my MBP to develop websites locally. I'm accessing the site as http://localhost:8888/sitedirectory

I'm also running Parallels and Windows XP on my MBP to be able to check the sites under construction in Internet Explorer 6. But the same url http://localhost:8888/sitedirectory doesn't seem to work on Parallels/Win XP. What am I missing? How do I access local sites in IE6?

mijlee's picture

IP number

Have you tried using your IP number instead?

eg 123.123.123.2:8888/MAMP

If not I guess Parallels doesn't have access to this and you may have to go back to a full system install of PHP and MySQL instead. Also try XAMPP it looks promising and has a few extra features over MAMP.

----------------------
http://mijlee.com
----------------------

mck's picture

Localhost on Windows and on

Localhost on Windows and on Mac aren't the same thing, even if you're using an emulator. Try using your IP like mijlee said.

Ivan's picture

Thanks guys!

How can I find out what my fixed IP is? Is it the one in the sys prefs? I tried that and it didn't work... What am I missing here?

arvana's picture

Under XP, click Start > Run

Under XP, click Start > Run and type cmd [Enter]. Then from the prompt, type ipconfig [Enter]. It will list all of your DNS settings, including your IP address.

Arvana
arvanadesign.com

Ivan's picture

Thanks a lot! I tried it and

Thanks a lot! I tried it and it doesn't work. Any other suggestions?

mck's picture

Try making an account with

Try making an account with no-ip.com and loading that in Windows.

Btw you can find you IP here:

Ivan's picture

Cool. Finally it works. At

Cool. Finally it works. At least it works at home with the Airport connection and network. It seems it works in theory. There must be an issue with the proxy settings at work. I'm not sure how and why, because I'm not supposed to be dependent on the network since I'm serving the site from OS X to Windows within one computer.

Waleed's picture

What's the difference

What's the difference between opening a URL or the main index.html file?

Waleed
www.waleedsgallery.biz

Ivan's picture

With static html no

With static html no difference. But you have to go through your machines php and mysql engines to parse php files.

Waleed's picture

Ah, thanks

Ah, thanks :)

Waleed
www.waleedsgallery.biz

paka's picture

I think you should not be

I think you should not be able to access from Parallels/Windows virtual machine your so called "local" mac machine. Parallels/Windows XP is system inside another system. I would be really surprised if you could get access to the local Mac/UNIX things. I suppose you use Apache under Mac, since this is a default configuration. Localhost relates to your running system, Mac OS. So another running system is localhost by itself. To access this one you should have install Apache (or other web server) under windows OS. That's it.

Each OS constitutes localhost by itself.

As was said, you should be able to access your localweb page using global/external IP number. Unless, you got some proxy/firewall thing in your company, then I wouldn't be surprised if it doesn't work.

Other thing is, if I remember well, the port number. As far as I remember, while I was installing Apache, there you have an option, whether you want to you 80 port for your internet page, which will be available globaly, or use 8888 to have access only localy, so port is closed for outsiders. I configured that this way, that it works with php only locally.

I hope I clear it a little bit out :) BTW. Read Apache README file, it helps ;) I am really lazy person, so usually I skim through text just reading what I think I need :)

Good luck!

mck's picture

Here's another idea. Turn on

Here's another idea. Turn on Personal Web Sharing in the Sharing prefpane. This will assign your compy a URL which you can access. Of course, this way you have to put everything into the Sites folder, if it isn't there already.

paka's picture

If it is under "bigger"

If it is under "bigger" firewall it want work.

themaxx's picture

I've run into this too;

I've run into this too; unable to hit the mac os web server from the windows parallels install, even when specifying the mac's ip address due to a proxy setup in the office. The solution:

In IE under XP:
Tools --> Internet Options --> Connections --> LAN Settings

Uncheck "Automatically detect settings"
Uncheck "Use automatic configuration script"

Check "Use a proxy server for your LAN"
Check "Bypass proxy server for local addresses"

Under "advanced" I added 10; to the "Exceptions" list so network requests headed for 10.x.x.x will not attempt to go through the proxy. (This last bit was actually already set up; Looks like it was pulled from the Mac OS's network setup.)

logangreer's picture

I can't figure it out...

I am banging my head into a wall with this issue. If someone could post a detailed how-to it would be awesome.

I am using my Mac to develop and I need to test on IE through Parallels. I have no idea how to even start figuring this out. I tried entering my IP address in the place of "localhost" but I tried every IP address I could get my computer to tell me and it would never work. Is this a firewall issue with my router or a permissions issue with my Mac, or something else entirely?

Thanks for any help.

BTW -- I am new to this site. I am looking forward to seeing what it has to offer! Looks promising.

elgreg's picture

ies4osx

Also make sure to check out the ie6 that runs in osx w/out parallels (requires WINE).

I've rendered a website in both native Windows IE6 and the ies4osx and it looks exactly the same (i.e. crappy :)

http://www.kronenberg.org/ies4osx/

Running this on Leopard after downloading the x96 version of WINE (links to that on the ies4osx site)

User login

Partner With Us













Latest critique

Cyber Park Logo Contest