You know why Apache Server doesn't get connected in MAMP? I have tried both ports 80 and 8888 none of which worked. Here's a screenshot:
I went to sharing in system preferences and this is what it was like. Please let me know if it should be different: