Support » Localhost Installs » I get an Error connecting database when remotely accessing a MAMP website

  • MrYann

    (@mryann)


    Hi guys,

    I get an Error connecting database when remotely access a MAMP website.

    So, I got MAMP on my MAC. I’ve setup local hosts using MAMP and remote DNS. My hosts file use the local ip 127.0.0.1… with the same domain name as for the external dns. Database in wp-config is connected with localhost.

    I made the redirection on my router. I even put the whole MAC on the DMZ.

    Everything works fine when accessing locally on my MAC. But when it uses the external DNS (and IP of course) I get that database error.

    Any idea? Did I forget a routing procedure?

  • The topic ‘I get an Error connecting database when remotely accessing a MAMP website’ is closed to new replies.