Controlling ports generated by the server for the clients 'real' connection.
Mark Salter <[email protected]> Sat, 15 Mar 2008 22:16:24 +0000
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
I have an RMI server within a firewall protected network. I have requested my firewall administrator allow connection through to server port 1099, so that my remote clients can connect initially, the server then picks a port on which it asks the client to continue the conversation, and this is where my problem begins. This second port is not open on the firewall so further conversation is currently blocked. I have convinced the firewall administrator to open a range of ports within which I would like the conversation could continue, however I have completely failed to locate a mechanism by which I can control the 'second' port chosen by the server, to force it to be within my prepared range. My firewall admin will not open all high ports, not even for a single client ip address. Is there a solution anyone can share or am I barking up the wrong tree? -- Mark =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html