I think you would have to use something like Vagrant share for this, and then share each box to the internet
Jun 5, 2016
3
Level 3
Connect between multiple boxes
Hi there,
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.
Any suggestions on how to do that?
Please or to participate in this conversation.