N
Neo_0815
Hello,
i got following Problem.
If i create a Registry with the LocateRegistry Object,
LocateRegistry.createRegistry("PORT");
a Registry is successfully created.
I then can rebind to this factory like registry.rebind(
//127.0.0.1ORT/Service, server) .
All is working fine, but a look at netstat shows that the registry is
listening on all interfaces, the server too as all client connections
also.
How can i forbidd this, the registry should only listen to localhost
interface, and only to that, no to all like it is now.
I searched a little bit but the only thing i've found is the second
methd:
LocateRegistry.createRegistry(int port, RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
This SocketFactory is only an abstract class, do i really have to
implement my own factory, to reach my goal, or are there some
properties i missed or how do u solve this problem?
best regards
Torsten
i got following Problem.
If i create a Registry with the LocateRegistry Object,
LocateRegistry.createRegistry("PORT");
a Registry is successfully created.
I then can rebind to this factory like registry.rebind(
//127.0.0.1ORT/Service, server) .
All is working fine, but a look at netstat shows that the registry is
listening on all interfaces, the server too as all client connections
also.
How can i forbidd this, the registry should only listen to localhost
interface, and only to that, no to all like it is now.
I searched a little bit but the only thing i've found is the second
methd:
LocateRegistry.createRegistry(int port, RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
This SocketFactory is only an abstract class, do i really have to
implement my own factory, to reach my goal, or are there some
properties i missed or how do u solve this problem?
best regards
Torsten