Friday, April 30, 2010

MAMP and IPv6

We are getting lots of questions regarding MAMP / MAMP PRO and IPv6.
Does it work? Yes it does!

Mac OS X supports IPv6 since 10.2, based on KAME. Since 10.3 it is possible to configure IPv6 using the GUI.

Some examples:

MAMP start page with Internet Protocol Version 4
(Apache Port 8888)
http://127.0.0.1:8888/MAMP/index.php?language=English

MAMP start page with Internet Protocol Version 6
(Apache Port 8888 / complete spelling)
http://[0:0:0:0:0:0:0:1]:8888/MAMP/?language=English

MAMP start page with Internet Protocol Version 6
(Apache Port 8888 / short spelling)
http://[::1]:8888/MAMP/?language=English

MAMP start page with Internet Protocol Version 4
(Apache Port 80)
http://127.0.0.1/MAMP/index.php?language=English

MAMP start page with Internet Protocol Version 6
(Apache Port 80 / complete spelling)
http://[0:0:0:0:0:0:0:1]/MAMP/?language=English

MAMP start page with Internet Protocol Version 6
(Apache Port 80 / short spelling)
http://[::1]/MAMP/?language=English

It is important to write the IP Number within squared brackets in order to separate it from the port number.

More Information

Share/Save/Bookmark

1 Kommentare:

  1. MAMP PRO adds hosts to /etc/hosts for local DNS resolving - fine:
    127.0.0.1 test.local

    Now after upgrade to Lion and MAMP PRO 2.0.1 OS X expects IPv6 entries. Thus I add:
    fe80::1%lo0 test.local

    (would be even better if MAMP would do this)

    fine so far, but next time MAMP reloads it messes /etc/hosts in that way:

    127.0.0.1 test.local
    # fe80::1%lo0 test.local
    127.0.0.1 test.local

    which actually disables the IPv6 entry. This is odd and would be much appreciated to get fixed.

    Thanks
    ReplyDelete