From: <glassfish_at_javadesktop.org>
Date: Sun, 14 Dec 2008 06:25:39 PST
It's because the Linux Glassfish will resolve it's IP by using "localhost". However, in Linux hosts file /etc/host
127.0.0.1 localhost
Then the client would send request to the server by using 127.0.0.1 subsequently. Please just modify your host file on linux server.