2
votes

We have a legacy application that is using CORBA for communiction between two Java processes on different machines. We are using the ORBD.exe from JDK as a Object Request Broker. In all existing environments there were no restrictions regarding the used ports between these two machines. This application has now to be installed at another customer and they refused to open up all ports between the two workstations that are communicating via CORBA. Is there a way to configure ORBD.exe in a way that is uses only a range of let's say 20 ports? I searched around a little bit and found out that JacORB for example provides parameters for that (jacorb.net.socket_factory.port.min / jacorb.net.socket_factory.port.max) but regarding https://docs.oracle.com/javase/1.5.0/docs/guide/idl/orbd.html ORDB.exe seems only to allow the specification of the port where the name server is listening for new connections (-ORBInitialPort, default 1050) and another port which's usage I don't understand (-port, default 1049). Is that correct?

1

1 Answers

0
votes

I think orbd has a -port option. So you should just say orbd -port 9999. The default port is 1049.