How to Allow Only localhost Access in MAMP Pro

Simply add 127.0.0.1 to your MAMP Pro to allow localhost access, if you also want local subnet access, just add 10.0.1.0/24 (change this according to your local ranges)