The instance is a Windows Server 2016. It runs an Apache server (for the ports 80 and 443), and a GlassFish server (on ports 8080 and 8181). On the machine itself, everything seems to work fine when I invoke localhost:.
I mapped the public IP of the instance to a DNS. When I invoke it with the Apache's ports it works fine, but not with the GlassFish ports. Same result when I use the public IP as well.
I tried to configure the Virtual host parameter directly from the GlassFish console (localhost:4848) and also the solution in here, without success. What am I missing here?