4 Replies Latest reply on Feb 27, 2002 7:03 PM by Todd Marshall

    *VERY* strange EJB client problem !!!

    Cezar Floroiu Newbie

      Hi ! I have an application which uses an EJB. Now, the strange situation is : when I connect to EJB from a remote computer on my LAN everything goes well. BUT when I connect to EJB (on a server in internet) from client I got the message :

      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host:; nested exception is: java.net.ConnectException: Connection refused: connect]

      What's happening ? The server is running on port 1099 (I tested with a simple telnet). Why when connects from remote computers in a local network everything goes well, but when connects from a remote computer over the internet ,i got that message ?

      Please, is a very urgent thing. Can you help me ?