users@glassfish.java.net

Re: IIOP behind NAT on glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Fri, 01 Oct 2010 09:38:21 PDT

Gonzalo,

try this:

Give your public ip a domain name.

copy domain.xml to domain.xml.bak

replace every occurance of 0.0.0.0 for the domain name (not the IP address)
on the server, add an enttry to hosts file that maps your domain name to 127.0.0.1 or the ip of your server. (maybe you have to try both)

If using JMS, also replace 'localhost' in the JMS broker adress in domain.xml for the domain name.

When launching the app clients, use always the domain name.

Good luck.
[Message sent by forum member 'pablopina']

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