title: MAMP PRO /etc/hosts on MAC
body: <p>I have been using MAMP for a solid year right now so I decided to get the MAMP PRO version. When I registered MAMP PRO and tried to start the server it gave me an error like:</p>
  
  <pre><code>ERROR
  
  The file /etc/hosts couldn't be written.
  
  (null)
  </code></pre>
  
  <p>I tried doing several things like giving read &amp; write permissions to the administrator account as well as my own, deleting the 127.0.0.1 line in the hosts file and many other things to get this fixed but nothing seems to be working. I am using the 3.4 version of MAMP PRO and I'm running OSX El Capitan. </p>
  
  <p>I've also tried these solutions but they didn't work:
  <a href="https://stackoverflow.com/questions/5850865/etc-hosts-file-permission-mamp-pro">/etc/hosts file permission Mamp Pro</a></p>