IIOP listener IP binding
843833Jun 25 2004 — edited Jun 28 2004I'm using a computer with two ethernet cards. Both having fixed IPs. I want SJSAS8 to be bound to one of those IPs, the one I use in java.naming.provider.url. Despite deploying the application using this IP, the server gets bound to the other IP.
In short, one card has the Internet address while the other is the local net. I use the Internet address in java.naming.provider.url. If I'm in a machine with both IPs available the application will work fine, but once I'm out of the local network and try connecting I get timeout connections. The client application is java-web-started and loads from SJSAS8, thus I'm sure I connected to the server.
How can I control which IP is bound to the IIOP listener? Wouldn't be better make the server to only respond the calling IP?