Re: Limiting RMI to localhost
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 30 Jun 2008 19:25:32 GMT
On Mon, 30 Jun 2008 18:49:01 +0100, Tom Anderson wrote:
On Mon, 30 Jun 2008, Ronny Schuetz wrote:
Can't you setup to RMI server socket to explicitly listen on
localhost:<your port>? This way it shouldn't be accessible from outside.
A server socket bound to localhost will be able to receive
connections from outside.
A ServerSocket bound to a particular address can *only* accept
connections that arrive on the corresponding interface. If that
address is 127.0.0.1 then any remote connection attempts will result
in "connection refused". No firewall is necessary.
/gordon
--
.
- References:
- Limiting RMI to localhost
- From: haimcn
- Re: Limiting RMI to localhost
- From: Ronny Schuetz
- Re: Limiting RMI to localhost
- From: Tom Anderson
- Limiting RMI to localhost
- Prev by Date: Google Map Java Error?
- Next by Date: Re: Border Around JPanel
- Previous by thread: Re: Limiting RMI to localhost
- Next by thread: interface specification - jar or source files
- Index(es):
Relevant Pages
|