| Summary | Configuring client- and server-side port ranges | 
|---|---|
| Article Number | 29257 | 
| Environment | Orbix 6.x All supported platforms | 
| Question/Problem Description | How to set the ports available to an Orbix application How to set the port range available to an Orbix application Configuring CORBA application ports Configuring Orbix client ports Configuring Orbix server ports | 
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | 
	The ports available to a CORBA application can be specified in the domain's configuration using IIOP policies. Specifically, the configuration variables are: 
	  policies:iiop:client_address_mode_policy:port_range 
	and 
	  policies:iiop:server_address_mode_policy:port_range 
	The IIOP policy "server_address_mode_policy:port_range" sets the ports available to an Orbix server. Similarly, the IIOP policy "client_address_mode_policy:port_range" sets the ports available to an Orbix client. 
	Example: 
	  policies:iiop:client_address_mode_policy:port_range="4003:4008"; 
	  policies:iiop:server_address_mode_policy:port_range="5003:5008"; 
	Alternatively, the "well_known_addressing" policy can also be used to specify the ports used by an Orbix application. Please note, if this policy is set, the above port-ranges are ignored. 
	Further information on Well-known addressing can be found in our Orbix Administrator's Guide, below. 
	Orbix Administrator's Guide, "Using Direct Persistence" | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 27 February 2012 | 
|---|---|
| Last Modified: | 05 July 2012 | 
| Last Published: | 28 February 2012 | 
| First Published date: | 27 February 2012 | 
#Orbix
#KnowledgeDocs

