Are there security concerns if i run http-listener-2 in glassfish on port 443
I have an apache web server that fronts glassfish v3.0.1.
Apache handles all http requests (port 80). However i have a j2ee application in glassfish that has "CONFIDENTIAL" in web.xml, and thus redirect to a https url.
The problem is the url shows port 8181. I do not want that.
Since Apache fronts glassfish, can i just set http-listener-2 to port 443? or is it dangerous security wise?
Here is how the flow of the application works:
Http request --> Apache on port 80 --> Glassfish application --> redirect to https without showing port 8181