users@glassfish.java.net

problems with glassfish and NAT

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Apr 2009 04:12:58 PDT

i have a problem with glassfish set up behind NAT/firewall. i followed the workaround from http://forums.java.net/jive/message.jspa?messageID=217837:

> 1.) Setup a DNS entry with the public IP address for your server
> 2.) On the server, map this hostname to the private IP of the server
> (add an entry to /etc/hosts)
> 3.) In the administration console change the properties of the IIOP
> Listener to specifically listen on the server name you just added.

i changed the server names of all 3 iiop-listeners from 0.0.0.0 to the DNS name configured in \windows\system32\drivers\etc\hosts.
but this didn't fix the problem, in my domain.xml i have 3 iiop-listeners specified (org-listener-1, ssl, ssl_mutualauth). this workaround worked only for "orb-listener-1" and "ssl", for the "ssl_mutualauth"-listener (port 3920) the client still tries to connect to the internal ip of the server?

any ideas?
[Message sent by forum member 'se01049' (se01049)]

http://forums.java.net/jive/thread.jspa?messageID=344111