Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IIOP listener IP binding

843833Jun 25 2004 — edited Jun 28 2004
I'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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 26 2004
Added on Jun 25 2004
2 comments
125 views