1. TrapezeArtist
  2. MAMP - General Discussion
  3. Tuesday, 12 March 2019

It's so frustating and disappointing when a product shows so much promise and then fails at the first hurdle. I downloaded MAMP in order to develop a new website offline. It looked just the biz, but has so far failed completely. When trying to connect to localhost the browsers (I've tried latest versions of Chrome, Safari and Firefox) all come up with some variation on the message "localhost refused to connect". It appears that this is because modern browsers default to https and this prevents them talking to MAMP.

A google search showed that many people have had this problem and a few had found solutions but either their solutions didn't work for me (possibly out-of-date) or were beyond my technical capabilities. Presumably there is a work-around, otherwise no-one could be using MAMP.

So, my question is, how do I get a newly-downloaded virgin version of MAMP to work with current browsers? Just one browser would do, but it would be nice if they would all work.



Accepted Answer Pending Moderation
0
Votes
Undo

 

 

It's so frustating and disappointing when a product shows so much promise and then fails at the first hurdle. I downloaded MAMP in order to develop a new website offline. It looked just the biz, but has so far failed completely. When trying to connect to localhost the browsers (I've tried latest versions of Chrome, Safari and Firefox) all come up with some variation on the message "localhost refused to connect". It appears that this is because modern browsers default to https and this prevents them talking to MAMP.

A google search showed that many people have had this problem and a few had found solutions but either their solutions didn't work for me (possibly out-of-date) or were beyond my technical capabilities. Presumably there is a work-around, otherwise no-one could be using MAMP.

So, my question is, how do I get a newly-downloaded virgin version of MAMP to work with current browsers? Just one browser would do, but it would be nice if they would all work.

So, I'm assuming you started Apache in MAMP and this is for Mac OS X or Windows? If you are getting a refused to connect, ensure your USER/Applications/MAMP/htdocs folder is writeable and you see a index.php and MAMP-PRO-Logo.png files inside. Also, check your host files to see if any entries are conflicting with localhost.

 

Default Localhost landing page for MAMP Pro:

 

mamp local host   

 

  1. more than a month ago
  2. MAMP - General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo

Thanks for the advice. However in the meantime I installed XAMP and that worked straight out of the box, so I'm carrying on using that.

  1. more than a month ago
  2. MAMP - General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.