0 Replies Latest reply on Oct 29, 2002 6:20 PM by Christine Christine

    Connection refused

    Christine Christine Newbie

      I've got a Java application which calls the ejbs deployed in Jboss. I've set the Jboss to listen to the port 21099 instead of 1099. It works fine if I call the Java application on any machine within the same domain as the Jboss server, however, when I tried to call it from different domain, it failed and got the following exception. I'm sure that the port(21099 on Jboss server) is open and listening as I tried the telnet command to test it. Is there any configuration of Jboss that i need to concern when accessing ejbs across different domains:

      java.rmi.ConnectException: Connection refused to host:; nested exception is:
      java.net.ConnectException: Operation timed out: connect
      java.net.ConnectException: Operation timed out: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at java.net.Socket.(Unknown Source)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at hms.cert.CertManager.main(CertManager.java:73)