Archived

This topic is now archived and is closed to further replies.

[java] Multiple clients connecting to a server using RMI with portmultiplexing

This topic is 5839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I hava a server an multiple clients that are connecting. Because I am behind a firewall I would like to use as few ports as possible. So multiplexing a port would have been nice. The server have remote interface with a single method, login. This methods returns an object on which the client can work further. I will off course have to export this object before the client will be able to connect. When using diffrent port this causes no problems, but when using the same ports it won''t work. Is there a way for multiplexing a single port when dooing this? (the server inherits from the UnicastRemteObject).

Share this post


Link to post
Share on other sites