RMI thru Internet
Hello everybody,
Im using RMI to connect java applet with a remote server. The
connection
is successful when the server in same machine or in the same flat
network
but its failed when try to establish connection through the Internet.
The connection is simply established thru this line:
LocateRegistry.getRegistry(getCodeBase().getHost(),
RemoteInterface.REGISTRY_PORT);
remoteReference = (RemoteInterface)
registry.lookup("//222.222.222.222/MyFolder"+RemoteInterface.REGISTRY_NAME);
do to I have to improve the rmi code by some way or use different tool
to establish the connection thru Internet.
.
Relevant Pages
- Accessing .mdb data from a remote computer on a non asp application
... have fount which fits to my application is changing the connection ... ("noa-second" is the machine where the MDB file is located) ... when I use the second one (with the remote) I get the error: ... adding http:// to the Remote Server sends error "count not connect to ... (comp.databases.ms-access) - Re: Solution with RMI?
... I've never had any problems with RMI. ... You needn't worry about garbage collection, ... You can set timeouts if you want to connection to go down after a set ... garbage collection - either the client JVM terminates or the remote ... (comp.lang.java.programmer) - Re: SMTP Errors in Event log
... It could however also be networking problems on the remote side. ... > 1) Message delivery to the host 'XXX.XXX.XXX.XXX' failed while delivering ... > the remote domain 'XXXXXXX.com' for the following reason: The connection ... > the remote domain 'XXXX.com' for the following reason: The remote server ... (microsoft.public.inetserver.iis.smtp_nntp) - Re: Detecting Disconnect on TCP Socket
... > really depends on how remote end behaves. ... If remote server is slow - you ... system has Shutdown the connection. ... The first callback won't be even be made for 5 ... (microsoft.public.dotnet.languages.csharp) - Re: Will killing tty stop remote jobs started by that session?
... That rsync is between two remote servers...not my PC. ... behind a 1Mbps connection), so IF my closing my PC's connection to the ... remote server does stop the job, I REALLY don't want to have wasted ... (comp.os.linux.misc) |
|