1 Reply Latest reply on Jul 5, 2005 1:27 PM by Tom Elrod

    getting error in connecting to server via client

    amit jangid Newbie

      I am getting following error when I want to connect to server by outside client:

      org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection.
      at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:230)
      at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:112)
      at org.jboss.remoting.Client.invoke(Client.java:226)
      at org.jboss.remoting.Client.invoke(Client.java:189)
      at org.jboss.remoting.Client.invoke(Client.java:174)
      at com.nagarro.common.portal.PortalClientInvoker.makeInvocation(PortalClientInvoker.java:23)
      at com.nagarro.common.portal.PortalClientInvoker.main(PortalClientInvoker.java:46)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:452)
      at java.net.Socket.connect(Socket.java:402)
      at java.net.Socket.(Socket.java:309)
      at java.net.Socket.(Socket.java:124)
      at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:460)
      at org.jboss.remoting.transport.socket.SocketClientInvoker.getConnection(SocketClientInvoker.java:417)
      at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:226)
      ... 6 more


      I am using jboss3.2.6(version)

      thanks in advance
      Amit Jangid