users@glassfish.java.net

Re: Ejbs, InitialContext, J2se

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Dec 2007 04:12:49 PST

If you're one linux you shoud check which ports glassfish uses. I just had the same problem and it occured that the right port to access remote interface is not 3700 but 3740 (ubuntu 7.10 + glassfish v2), but it could be different...

Just type the following command in a shell :
[i]sudo netstat -pateu | grep LISTEN[/i]

and find a port near 3700...

And check if your firewall doesn't block it ;-)
[Message sent by forum member 'eldarion' (eldarion)]

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