title: Prestashop localhost giving Refused to Connect error
body: <p>So I went ahead and transferred my Prestashop (1.6) site from one server to another. I got the database set up and the files fully loaded. When trying to access the server itself, it pulls up no problem. I also see the directory where the Prestashop files are located when accessing the server through the public IP address.</p>
  
  <p>Now, I want to get into the Prestashop store, but I'm getting an error. I have updated my <code>settings.inc.php</code> file in the <code>config</code> directory. It has the correct <code>DB_NAME, DB_USER, DB_PASS</code>. The problem seems to be with the <code>DB_SERVER</code>. </p>
  
  <p>When I set the <code>DB_SERVER</code> to <code>localhost</code> or <code>127.0.0.1</code> then I get a 'This site can't be reached' error. Then if I switch the <code>DB_SERVER</code> to the Public IP Address then I get <code>Link to database cannot be established: SQLSTATE[HY000] [2002] Directory Not Found</code> error. </p>
  
  <p>Is there something that I'm missing here? I've scoured the apache2 directory for correct settings and I can't seem to figure it out. Any ideas or suggestions to put me in the right direction?</p>