Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI: How to make sure only client from local networks have access to the remote object/methods

patson luk
Posts: 1
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The RMI server would be running in the same local networks as the clients (but could be different machines)

I just wish to make sure no outsider can call the remote methods on the server.

Is setting up a firewall to block access to port 1099 (port for registry) from the outside sufficient?

Or any other suggestions that involve very simple changes/configurations?

Please help! Many thanks in advance!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic