SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist stef25's Avatar
    Join Date
    Nov 2004
    Location
    belgium
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    making mamp localhost accessible on my wireless lan

    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.

    thx
    stef
    I need someone to protect me from
    all the measures they take in order to protect me

  2. #2
    SitePoint Evangelist
    Join Date
    May 2006
    Location
    Denmark
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    mikem

  4. #4
    SitePoint Evangelist stef25's Avatar
    Join Date
    Nov 2004
    Location
    belgium
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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?

    thanks
    stef
    I need someone to protect me from
    all the measures they take in order to protect me

  5. #5
    SitePoint Evangelist stef25's Avatar
    Join Date
    Nov 2004
    Location
    belgium
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    done, found the firewall settings under security and opened incoming connections for the MAMP applicationn
    I need someone to protect me from
    all the measures they take in order to protect me


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •