• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI IP problem  RSS feed

 
michael modenese
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am doing a RMI Application where the server is behind a firewall. some clients are inside the firewall and some are outside. in order zu get the clients to work though the firewall my networkadministrator can open the ports i need. my problem is that i have to start the java application on serverside with the option "java -Djava.rmi.server.hostname=....." now the clients inside the firewall do not run anymore, but those outside the firewall run fine. any idea how i can fix this problem

thanks for help
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perhaps your local clients have different DNS that is giving them the wrong IP address for that hostname?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!