4

I have installed Mamp Pro to run my local host and it has been working great for a year or so but recently when I start it up and go to one of my hosts it redirects to a https connection and throws an error:

"Safari Can't Open Page. Safari can't open page because Safari can't establish a secure connection to the server."

It works fine in Chrome but Safari is giving me issues. I've restarted my computer, restarted MAMP and nothing has worked so far. Any help would be greatly appreciated.

kurrle
  • 59
  • 1
  • 8

2 Answers2

14

If you are using .dev domains for local development ( mydomain.dev ) , try something else e.g. mydomain.local, mydomain.lcl

This happened to me with macOS 10.13.2, in both Safari and Chrome (63.0.3239.84).

After reading this post, it seems a better choice to just change my .dev domains than mess with browser default settings.

stol
  • 877
  • 7
  • 10
  • I changed it to .local and it worked great! Thank you! – kurrle Dec 13 '17 at 03:17
  • Unfortunately not working for me, before I post another question wanted to check here. It's not working in Chrome, FF, or Safari. MAMP Pro 5.2 + Browsers LTS. Really confused. ps. Not a "server-guy" by any stretch and I'm kinda at my wits end with this whole project. lol – Josh Bruce Feb 14 '19 at 00:45
4

Do you have installed the update to MacOS 10.13.2? After upgrading to this version no website on localhost can be started. Every host redirects to a https connection.

Spindizzy
  • 7,244
  • 1
  • 19
  • 33
Maik Puetz
  • 41
  • 2