stef25 — 2008-08-17T10:17:27-04:00 — #1
im developing on my MAMP localhost and would like to provide other computers on my lan (in my building, withing reach of the wifi signal) access to it, i guess via http://localhost: portnumber.
if this is how you do it, how do i find the portnumber? do i need to configure my router in any way?
all computers involved are Mac connecting to my router via Airport.
daniel0 — 2008-08-17T14:41:01-04:00 — #2
The port should be 80 unless you changed it. You shouldn't need to change your router configuration in any way. Just enter the hostname or LAN IP address of your computer and see what happens.
mikemckinney — 2008-08-17T17:50:16-04:00 — #3
No problem... Just replace localhost with the IP address of your web server (ex., http://10.0.1.5:8888/). You can find the address in the System Preferences under Network. Also, you'll have to open the web server's port (typically 8888 for MAMP) or disable the server's firewall.
stef25 — 2008-08-19T09:28:35-04:00 — #4
192.168.0.1 is my router and 192.168.0.2 is my computer which contains the MAMP installation. when i enter the latter address in the second computer i get a timeout, wether i append the apache port to it or not. i dont have to enter the first mac's external address do it? the second mac gets online through the routers wifi signal.
how do i open port 80 on my mac's firewall? could anything else be the issue?
stef25 — 2008-08-19T09:41:20-04:00 — #5
done, found the firewall settings under security and opened incoming connections for the MAMP applicationn