This is a linux-related issue, since Glassfish never touches the
hostname, but a quick google turned up
http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/
. Hopefully that is helpful to you.
Something else to consider is that there may be a firewall blocking
access from the separate computer, which you would also have to
configure to allow the external requests through.
glassfish_at_javadesktop.org wrote:
> Hi, i'm a complete newbie with glassfish. While i've managed to get it up and going and, with the help of this forum, to debug problems relating to deploying webstart application clients, i can only do this on localhost. I've gone through the documentation many times and can't find a simple, detailed set of instructions for running glassfish on something other than localhost. For example, i just want to access some app, "App" on my hostname rather than on localhost: http://hostname:8080/App instead of http://localhost:8080/App. Of course i can do that on the same computer i'm coding on because of some internal mapping, but when i try it from a separate computer it doesn't work. Anyway, do i create a whole new domain? I've found bits and pieces in the forum that the hostname comes from the hosts file in linux (i'm on ubuntu). Nothing seems to work so far. Using glassfish v 2.1.
> [Message sent by forum member 'jbrkeith' (jbrkeith)]
>
> http://forums.java.net/jive/thread.jspa?messageID=330624
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>