title: Access Virtual Host with port via network in Mac XAMPP
body: <p>I Want to create a virtual host in my XAMPP with 8001 port number. And this should be accessible via my private network. 
  For Example: 192.168.1.2:8001 
  How can I do that?
  Here is my Vhost code</p>
  
  <pre><code>&lt;VirtualHost *:8001&gt;
      ServerName 192.168.1.2
      DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/dir"
      &lt;Directory "/Applications/XAMPP/xamppfiles/htdocs/dir"&gt;
          Options Indexes FollowSymLinks Includes ExecCGI
          AllowOverride All
          Require all granted
      &lt;/Directory&gt;
      ErrorLog "logs/mysite.local-error_log"
  &lt;/VirtualHost&gt;
  </code></pre>