Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > running an RMI server which accepts connections over TCPIP(LAN) and PPP(modem)

Reply
Thread Tools

running an RMI server which accepts connections over TCPIP(LAN) and PPP(modem)

 
 
Daniel Bress
Guest
Posts: n/a
 
      09-15-2003
I have a problem where I want to run an RMI server application on a
computer which accepts connections over two interfaces(LAN and MODEM)

Thusly, the computer has two ip addresses(one for each interface)

if i run this application by default then when the RMI ref object goes
back to the client, it appears to return the LAN ip address, and when
the client calls we have a RMI connection exception thrown.

I can then specify the server hostname using
-Djava.rmi.server.hostname=1.2.3.4
but then this doesnt allow to me use both interfaces.

The same problem exists when i pass a client object to the server and
expect a call back. if the client has both LAN and MODEM interfaces
then it appears to pick the lan interface first, even though it was
the modem interface which established the connection. it will even
pick the LAN interface if the modem is not enabled.

IF anyone has experienced similar issues please post any insight.

thank you

Dan
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VOIP over VPN over TCP over WAP over 3G Theo Markettos UK VOIP 2 02-14-2008 03:27 PM
is there a way thru which i can make changes in the security option so that browser accepts activex? zEE ASP .Net 1 07-31-2006 02:40 PM
is there a way thru which i can make changes in the security option so that browser accepts activex? zEE ASP .Net 0 07-31-2006 01:25 PM
RMI only works over network and not over internet zach.bastick@gmail.com Java 7 02-23-2005 10:52 PM
RMI Vs RMI over IIOP JScoobyCed Java 1 01-28-2005 09:54 AM



Advertisments