My problem is something like this:
There is a login page for swing client. When the client enters the username and password and press submit then the application connects to the JBoss server and check the validitity of username and password from the database.
Now this works fine with normal scenario.
But I am having a scenarion like this:
The Client is in remote location. In client machine the server to connect is given as 192.168.0.167(where JBoss is running). When client press submit button the request first comes to 188.8.131.52 (which is having firewall and router). This 184.108.40.206 machine intercept the client call and redirects the call to 192.168.0.167 through a CISCO PIX router. Here I am getting
"javax.naming.Communication Exception:conncet exception:Connection refused to host:192.168.0.167......"though the JBoss server is running in 192.168.0.167 machine and the CISCO router is redirecting the call efficiently.
I have opened port 1099,4444,2744 but the problem remains. Please let me know if anyone having solution to this. Its very urgent for me.
220.127.116.11 - is exposed in internet
192.168.0.167 - is not exposed to internet,its in LAN