> GlassFish uses whatever is returned by
> servletRequest.getRemoteHost and getRemotePort. Do
> Dick's earlier comments help?
I haven't tried them yet; I've temporarily reverted to making the Glassfish ports directly available on the server. I want to try and get it to work that way first and then tackle putting it behind the reverse proxy.
> > * How can I tell the application client to use SSL
> > and to correct to the right server and port?
> > (Glassfish seems to be ignoring both the
> sun-acc.xml
> > file in the application client, as well as the
> > sun-acc.xml file in the domain config directory. I
> > have target-server www.supplierdna.com and port
> 3820
> > in both, but the app tries to connect to server
> > 127.0.1.1, port 3700, which is obviously useless).
>
> See
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=
> 3900. We hope to address this soon.
I'm not sure that's the same issue. In my case it seems to be using the wrong address, as well as port number. The server is telling the app client to contact it at the address 127.0.1.1 (I have no idea where it's getting that from), so I can't even get it to work *without* SSL. Do you know where it might be getting that IP address from and how I can tell Glassfish which hostname/IP address to give to its clients?
[Message sent by forum member 'pepijn_schmitz' (pepijn_schmitz)]
http://forums.java.net/jive/thread.jspa?messageID=295997