Discussion:
Leopard MAMP and Virtual PC 7.0.3
(too old to reply)
l***@officeformac.com
2008-11-23 23:01:22 UTC
Permalink
Operating System: Mac OS X 10.5 (Leopard)
Processor: Power PC

I am trying to connect to MAMP (not pro) from IE in VPC.
I can connect to the internet from IE.
I can also connect from other computer attached to the same wireless/ethernet router using <http://192.168.1.7:8888/MAMP/> from a mac and a Windows PC...... 192.168.1.7 being the address automatically given to my Powerbook airport on which VPC and MAMP are installed.

Another (closed) thread mentioned to use virtual switch, but doesn't work for me and I loose connection to the internet and still cannot connect to MAMP.

I don't know if I am doing something wrong, but help will be welcome
Michael Vilain
2008-11-24 00:39:22 UTC
Permalink
Post by l***@officeformac.com
Operating System: Mac OS X 10.5 (Leopard)
Processor: Power PC
I am trying to connect to MAMP (not pro) from IE in VPC.
I can connect to the internet from IE.
I can also connect from other computer attached to the same wireless/ethernet
router using <http://192.168.1.7:8888/MAMP/> from a mac and a Windows
PC...... 192.168.1.7 being the address automatically given to my Powerbook
airport on which VPC and MAMP are installed.
Another (closed) thread mentioned to use virtual switch, but doesn't work for
me and I loose connection to the internet and still cannot connect to MAMP.
I don't know if I am doing something wrong, but help will be welcome
I've never been able to connect to the Mac-side Apache server from VPC
and just gave up. It was something to do with the shared connection and
firewall remapping that I never got working. You may just have to live
without this.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]
unknown
2008-11-24 19:08:19 UTC
Permalink
Thanks Michael

Your reply made me think that I have been wasting my time.

But out of the blue, I finally somehow got it working.

This is how I managed to get it going.
My powerbook is connected to the internet through a wireless router using the Airport connection.

In System Preferences (mac) choose,

Sharing>Web Sharing "On" (The address given to access the Powerbook, can
change in function of how many devices are connected to the router, so
you must check this before connecting. Let say 192.168.1.7)





Still in System Preferences
also allow:

Sharing>Internet Sharing "On" (in my case I choose "Share your connection
from" >Airport,
"To Computer using" > Ethernet





I have also added MAMP and Virtual PC to the firewall as Allow incoming connection in Leopard.

I tried with a friend computer with MAMP installed and connecting from the PowerBook. Her old eMac 700mhz has Tiger installed.
In Sharing, firewall, I clicked >New>>>
for Port Names> Other
TCP port Numbers:8888
UDP port Numbers:8888
Description: mamp

I haven't tried MySQL but it is possible that one might need to open the corresponding ports too.

Then I start Virtual PC
I choose the system I want to use (let's say Windows XP professional) which is the default name from fresh install.
I click "Settings"
A window open called Setting for Windows XP professional.
I choose

Networking>Enable networking>Virtual Switch You will be probably asked
to restart Windows. Do it.





At the bottom of the window called Setting there is a button called
"Open Application Preferences" open it
Choose >Networking>Virtual Switch Preferences> Build-In-Ethernet
and click Done.
You can now start Windows and connect to 192.168.1.7:8888/MAMP or any other folder in htdocs.

I have managed to connect from VPC to my Powerbook MAMP as well to my friend computer MAMP (different address), and managed to connect from my friend computer to MAMP on my PB.

I believe this is only possible with an internet connection so that an IP is provided.
Steve Jain [MVP]
2008-11-24 20:10:38 UTC
Permalink
Post by unknown
Thanks Michael
Your reply made me think that I have been wasting my time.
But out of the blue, I finally somehow got it working.
This is how I managed to get it going.
My powerbook is connected to the internet through a wireless router using the Airport connection.
In System Preferences (mac) choose,
Sharing>Web Sharing "On" (The address given to access the Powerbook, can
change in function of how many devices are connected to the router, so
you must check this before connecting. Let say 192.168.1.7)
Still in System Preferences
Sharing>Internet Sharing "On" (in my case I choose "Share your connection
from" >Airport,
"To Computer using" > Ethernet
I have also added MAMP and Virtual PC to the firewall as Allow incoming connection in Leopard.
I tried with a friend computer with MAMP installed and connecting from the PowerBook. Her old eMac 700mhz has Tiger installed.
In Sharing, firewall, I clicked >New>>>
for Port Names> Other
TCP port Numbers:8888
UDP port Numbers:8888
Description: mamp
I haven't tried MySQL but it is possible that one might need to open the corresponding ports too.
Then I start Virtual PC
I choose the system I want to use (let's say Windows XP professional) which is the default name from fresh install.
I click "Settings"
A window open called Setting for Windows XP professional.
I choose
Networking>Enable networking>Virtual Switch You will be probably asked
to restart Windows. Do it.
At the bottom of the window called Setting there is a button called
"Open Application Preferences" open it
Choose >Networking>Virtual Switch Preferences> Build-In-Ethernet
and click Done.
You can now start Windows and connect to 192.168.1.7:8888/MAMP or any other folder in htdocs.
I have managed to connect from VPC to my Powerbook MAMP as well to my friend computer MAMP (different address), and managed to connect from my friend computer to MAMP on my PB.
I believe this is only possible with an internet connection so that an IP is provided.
You should be able to have host-guest communications, but you need to:
1. use virtual switch in VPC (new OSX's prevent this from working)
2. not use your airport, use the wired connection (the wireless causes
issues)
3. have a way to get IPs on your network for both the host and the
guest (if you connect directly to your ISP via dsl/cable modem, you
won't get a 2nd IP generally)
--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
Loading...