I created a simple apache2 server on my ubuntu virtual machine. Now I want to make it accessible to devices outside my network. I did the same thing with my windows computer. Did the port forwarding for the pc's ip and it worked. Tried the same thing with the ubuntu vm apache server but the ip address my ubuntu vm has is weird. Its 10.0.2.25. The ip of my windows pc where the port forwarding worked was 192.168.178.23.
I hope you can understand my problem.