2 Replies Latest reply on Jun 20, 2006 7:50 AM by Smith Aron

    still cant connect to bean over network - connection refused

    Smith Aron Newbie

      I am trying to connect from a client on the same network - and have disabled all firewalls.

      I have my jboss starting with the bind address of the local ip 192.168.1.104

      I can telnet to 192.168.1.104 1099 and see http://linux:8083 which is resolvable - and it ends with 192.168.1.104.

      I cannot (will not?) annotate my beans to hardcode the IP address...

      But from another client with jndi.properties of

      java.naming.factory.initial=org.jboss.security.jndi.LoginInitialContextFactory
      java.naming.provider.url=jnp://192.168.1.104:1099
      java.naming.factory.url.pkgs=org.jboss.naming.client

      I get the error:


      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.104; nested exception is:
      java.net.ConnectException: Connection timed out: connect]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(Unknown Source)


      Any clues... I am running 4.0.3

      thanks

      Aron