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:
socket://10.10.10.10:1000/?clientConnectAddress=22.22.22.22
My clients must go over the IP 22.22.22.22 to reach my server because I bound the server
to 22.22.22.22. 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:
socket://22.22.22.22:1000/?clientConnectAddress=22.22.22.22
or this
socket://22.22.22.22:1000
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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...