Ionic serve on Vagrant with Windows host


#1

Hi,
I’m developing in my Vagrant box with ionic installed inside but i have some problems.
My host is a Windows computer and i had nothing to the “hosts” file.

In my vagrantfile, i did that to forward port:
config.vm.network “forwarded_port”, guest: 8100, host: 8100
config.vm.network “forwarded_port”, guest: 35729, host: 35729

After that, when i do “ionic serve”, i have an adress : http://localhost:8100 on the terminal of my VM (my Vagrant).
But when i try to access to it from my host machine, i put localhost:8100 on my browser. “Can’t access to this site”.

Should I modify the /etc/hosts of my windows computer? (nothing inside)
Or start wamp?

Help please :frowning: