Answer the question
In order to leave comments, you need to log in
There is Apache2 on Ubuntu guest OS. How to access the site from the Internet?
Please help me find the error. There is Apache2 on Ubuntu guest OS. I want to access the site from the Internet or, for starters, from the host machine.
So, I chose network settings through NAT in vb, wrote two rules. host 8888 -> guest 80; host 2222-> guest 22. I reboot the guest machine, from the real machine 127.0.0.1:8888 - I get a 404 error.
I looked at this port on the host - LISTEN.
executed telnet 127.0.0.1 8888 - I get the html code of the page.
In Apache, in all configs, I replaced ip with 0.0.0.0
Actually, the question is, what am I doing wrong? I want to understand exactly my mistake in NAT, like the floor of the logic, everything should work, but alas.
It is completely confusing that the page is obtained by telnet, but the browser does not see it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question