users@glassfish.java.net

Re: How to setup Glassfish behind NAT?

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Jun 2007 05:05:57 PDT

Hi!

I had the same problem!

I've changed that the server doesn't listen on 0.0.0.0, but 127.0.0.1.
Then I opened an SSH tunnel from the client to the server, so the client now connects to 127.0.0.1, and it works.

I'm surprised that server developers didn't think of a simple problem like this. NAT is used almost everywhere.
[Message sent by forum member 'mbazs' (mbazs)]

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