Vagrant port 80 forwarding not set

New user here! Someone sold me the idea that wordpress development tools where the best arround. Since I havn’t touched WP for almost two years. I think that doing it through this service could be a really nice alternative.

My problem is that I followed and got everything to work after a lot of cursed word. But I still can’t access http://domainName.localhost

There is no error, I can ping the domain name, I can SSH into it, there’s a nginx instance running and I ran out of idea of things to check till I saw

==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)

What ? No port 80 ? I searched the whole project and can’t find anywhere it ask vagrant to redirect the vm port to local machine… I opened VirtualBox and add the forward manually and VOILÀ ! It works ! But… why is Trellis not already configured to get the port 80 ? I don’t understand how it suposed to work ? Are we supose to create a tunnel through SSH ?

Someone can help my simple mind to understand what happenned ?

Thank you !

This topic was automatically closed after 42 days. New replies are no longer allowed.