• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Problem connecting to Remote Server

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am binding (server) to the Jini lookup running on a remote server which has a valid static IP.

My local IP address is 192.168.x.x and static as 59.x.x.x .
When requesting for the object from other machine,
the lookup service returns my local IP (192.x) instead of the static IP (59.x).
As a result, it throws an IOException.

Please let me know how I can make it work in my LAN.
Does my system need a valid static ip address to bind as a server to a
lookup service running on remote machine with valid IP.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By "static", do you mean the IP address of the router?

Jini is built on RMI and RMI has ways around NAT throught specifying "proxy" properties and configuring the router to do port forwarding (or use HTTP tunneling) - but it's probably going to be a lot of work to get everything configured properly.

There's some discussion of the difficulty of this in this post in the JINI-USERS mailing list.
 
reply
    Bookmark Topic Watch Topic
  • New Topic