title: Can not connect to wordpress in localhost (GET http://localhost/ net::ERR_CONNECTION_REFUSED)
body: <p>I just backup wordpress DB and public_html folder in virtual-web-hosting.</p>
  
  <p>And I move them to my local MAMP.</p>
  
  <p>But when I enter <a href="http://localhost:8888/" rel="noreferrer">http://localhost:8888/</a>, it just transfer to <a href="http://localhost" rel="noreferrer">http://localhost</a>.</p>
  
  <p>And the error message <code>(GET http://localhost/ net::ERR_CONNECTION_REFUSED)</code> shows in chrome.</p>
  
  <p>Could some one give me some hint?</p>
  
  <p>I had tried to put a dummy index.php with echo "debug" in /htdoc/test</p>
  
  <p>and then connected to <a href="http://localhost:8888/test" rel="noreferrer">http://localhost:8888/test</a>, it shows "debug" just as expected.</p>
  
  <p>Thanks.</p>