How to connect two vagrant boxes
<p>I have laravel and homestead running on one virtual machine. I am using the default ip configuration, so my site is running at 192.168.10.10. Now I needed to install another vm and used the scotchbox to use apache. This box runs at 192.168.33.10. Everything is working just fine, but now I need to connect those two. I want to use a curl request from my scotchbox to access an api on homestead. I tried using the hostname from my host file, which isn't working. And trying to curl to 192.168.10.10 from within the scotchbox is giving me a 403.</p>

<p><a href="https://stackoverflow.com/questions/30492761/how-to-get-two-vagrant-boxes-to-talk-to-each-other">This didn't help me.</a></p>

<p>Any suggestions on how to do that?</p>