Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7545733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:00:24+00:00 2026-05-30T09:00:24+00:00

When I use a remote reference from the client everything is OK. If I

  • 0

When I use a remote reference from the client everything is OK. If I try to use this remote reference from the simu, the communication failed because the server try to use the IP from eth0. What bothers me is that the exception gets reported on the simulator.
I think I missed something?

[EDIT]
The simu provides this exception:

java.rmi.ConnectIOException: Exception creating connection to eth0_IP;

nested exception is: java.net.SocketException: network is unreachable

Network Configuration

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:00:26+00:00Added an answer on May 30, 2026 at 9:00 am

    You need to set the java.rmi.server.hostname property to tell the RMI Registry which hostname or IP Adress to return in its RMI URLs.

    This defaults to the IP address of the first interface on the system which explains why it’s only working through eth0.

    So you’ll need something like:

    String ipAddress = "10.1.2.3"; //IP address of eth1
    System.setProperty("java.rmi.server.hostname",ipAddress);
    

    or

    String hostname = "myserver"; //hostname that resolves for client and simu
    System.setProperty("java.rmi.server.hostname",hostname);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use terminal from Mac OS X Leopard to connect to remote Linux machines
I'm using SimpleXMLElement to read xml returned from a remote server. The results are
I have a xulrunner application and I've been trying to reference remote content from
The situation is this: I have more than one remote repository - for reference,
I'm trying to run mysql queries from a remote server (server B) and then
I use remote desktop quite a bit and I've noticed that on one of
I want to use remote debugging. The program that I want to debug runs
I use the Remote File module for a cck field displaying a remote image.
Does Git only use the remote name origin for a repository which was created
I need to evaluate and dig more into the use of Remote Procedure Call

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.