Re: Limiting RMI to localhost
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 08:12:38 -0400
haimcn@xxxxxxxxx wrote:
I'm writing a big application that I divide into 2 processes (server
and interface) with RMI to communicate between them.
I would like to limit the access to the server only from the interface
process and also only from the local machine.
Is there a way to limit RMI to localhost only?
I cannot block all sockets outside the machine since I use them in the
server process.
Simply block the RMI port with the firewall from non-localhost access. You'll have to look the port up, I don't remember which one it is off the top of my head. It'll be a different port than the ones you expose "in the server process".
This is an OS-specific operation, but most Windows "personal firewall" products and any Linuxen have the capability.
--
Lew
.
- Follow-Ups:
- Re: Limiting RMI to localhost
- From: haimcn
- Re: Limiting RMI to localhost
- References:
- Limiting RMI to localhost
- From: haimcn
- Limiting RMI to localhost
- Prev by Date: Re: interface specification - jar or source files
- Next by Date: Re: J2EE Weblogic Developer required for IBM partner at Kuwait
- Previous by thread: Limiting RMI to localhost
- Next by thread: Re: Limiting RMI to localhost
- Index(es):
Relevant Pages
|