How to reach webserver in bridged-network vm ?
I originally asked this question on stack overflow ( https://stackoverflow.com/questions/4... ).
I run fedora 25 as a guest of a win10 host, through oracle's virtualbox.
I run it alongside a debian with (I believe) the same configuration : bridged networking and guest additions. I installed nginx and apache on both, and whenever i turn one on (apache or nginx), i can access the standard page (apache2.4.2 or nginx 1.10.2 i believe). However, the trouble arises when I use my host system (win 10) to reach the vms. It works fine with debian, but I can't get to reach the fedora vm.
One of the only differences I can think of is fedora uses SELINUX, but I once made a test stating setenforce 0
, but didn't change anything.
I try to reach the VM through the inet address i get from /sbin/ifconfig
, which is 192.168.1.21
, through interface enp0s3
.
I can't really figure out what makes the thing to fail, so even troubleshooting is arduous.
Have you ever encountered this issue ? How can I understand what is happening ?