2 Replies Latest reply on Aug 17, 2010 2:23 AM by hughbragg

    Connection problem in multihomed environment

    ulrichbl1976

      Hi,

       

      I'm having trouble connecting to my installation's No. 2 IP address and getting the following error:

       

      Caused by: javax.naming.CommunicationException: 172.18.110.11:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]

       

      I'm running a 5.1.0GA Standard setup with two NICs on a Windows server 2003 standard x86 machine.

       

      IP Address  . . . . . . . . . . . . : 10.48.32.16
      Subnet Mask . . . . . . . . . . . : 255.255.255.0

       

      IP Address  . . . . . . . . . . . . : 192.168.50.10
      Subnet Mask . . . . . . . . . . . : 255.255.255.0

       

      The WAN address is connected to the 10.48.32.16 address and the 192.168.50.10 is a secondary line with a vpn tunnel for ldap and kerberos query using spnego. All outgoing ports are allowed, recieving ports have been opened.

       

      Using telnet I can connect to the 172.18.110.11 address - the route is added permanently to the windows routes.

       

      Persistent Routes:
        Network Address          Netmask  Gateway Address  Metric
          172.18.110.11  255.255.255.255     192.168.50.1       1

      I've also tried running 3rd party LDAP tools, these connect just fine.

       

      But for some reason when my application tries to connect to 172.18.110.11:3268 it just times out

       

      I've tried running the server with:

                -b 0.0.0.0

                -b 10.48.32.16 (with and without a second connector for the 192.168.50.10 in server.xml)

       

      My hosts file contains the following:

                10.48.32.16     host.server.com     host

       

      And my server.xml is configured with:

                <Engine name="jboss.web" defaultHost="host.server.com">

       

                <Host name="host.server.com" ...

       

      Running the application on a singlehomed installation works fine, so what am I missing in this setup? Any and all help on this would be greatly appreciated.