[jboss-user] [Remoting] - clientConnectAddress not working
do-not-reply at jboss.com
Fri Jun 26 13:37:12 EDT 2009
I am using JBoss/Remoting 2.2.2-SP8 and trying to see how it can be used with NAT involved (where a server binds to one address but my clients need to access it over a different IP).
So, here's a simple test I performed to see if clientConnectAddress works.
I have a remoting client that tries to connect to my server using this invoker URL:
My clients must go over the IP 126.96.36.199 to reach my server because I bound the server to 188.8.131.52. 10.10.10.10 is a bogus IP but it shouldn't matter, because the client should use the clientConnectAddress for the IP it uses to connect to the server. Right?
But using that InvokerLocator above, it fails. But if I use this:
it works fine.
I tried stepping through the code in a debugger but I can't see where "clientConnectAddress" is even referenced. Where is that looked up and used?
I assume I'm doing something stupid - I'm hoping someone can straighten me out.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240419#4240419
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240419
More information about the jboss-user