Logo Mark L. Reyes
Connect Localhost to iPhone with MAMP

Connect Localhost to iPhone with MAMP

August 13, 2013
1 min read
  1. Ensure both Macbook Pro and iPhone are on the same wireless network.
  2. Verify Macbook Pro IP address, System Preferences > Network > Wi-Fi > Status (ie. 10.61.0.125).
  3. Open apache httpd.conf file, Applications > MAMP > conf > apache.
  4. On httpd.conf file, Command+F Listen to verify the port assigned (ie. 8888).
  5. Open iPhone browser (safari/chrome, etc.).
  6. Type the IP address and port assignment, 10.61.0.125:8888.

Thanks to Stackoverflow

PS: This also holds true for ANDROID phones with their respective browsers. As long as you are in the same network.