users@glassfish.java.net

Calling EJB from static IP mapped to LAN ip

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Aug 2010 04:24:07 PDT

Hi All,

I have created a demo helloworld application using glassfish 2.1.
which uses jndi lookup and on client I just out put "Hello" on console.

It is working fine in my LAN.

Now my requirement is to host it on static ip so that I can access on internet from anywhere.

But the problem is my static ip had been mapped throught a port forwarding software and resolves it to LAN ip. So when I send request from my ejb client it
gives me the following error where IP is my server's LAN IP which seems got resolved by my port forwarding software.

WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.0.25; port: 3700"

Is there any way to configure glassfish so that it can send the response to my static ip not on the LAN ip?


Thanks in Advance
[Message sent by forum member 'mihirkumarpaulatsya']

http://forums.java.net/jive/thread.jspa?messageID=479994