17.7 TCP/UDP port numbers used by Application Server
When the port number is not explicitly defined, a port number is automatically assigned by Application Server to a port with the default value (Floating).
The following table describes the TCP/UDP port numbers used by Application Server. Depending on the OS being used, the firewall setting may be at the host level instead of the network level. In the case of such firewalls, filtering takes place for all communication other than that with the localhost (127.0.0.1), including communication within the same host. In such cases, even for the ports that communicate only within the host, you need to set the filter settings so as to permit that communication.
The following figure shows the TCP/UDP port numbers used by the Application Server process. (x) corresponds to the item numbers in the table:
|
For other legend details, see 3.2 Description of the system configuration in the manual uCosminexus Application Server System Design Guide.
The following table lists the locations for specifying port numbers. The item number in the table corresponds to the item number in the figure.
No. |
Definition files |
Setup target |
Parameter name#1 |
---|---|---|---|
(1) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
vbroker.se.iiop_tp.scm.iiop_tp.listener.port |
(2) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.http.port |
(3) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
webserver.connector.ajp13.port |
(4) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.distributedtx.recovery.port |
(5) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
inprocess.ns.port |
(6) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
webserver.connector.inprocess_http.port |
(7) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.rmi.naming.port |
(8) |
Connector attribute file |
Reliable Messaging |
RMSHPort#2 specified in the <config-property> tag |
(9) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.rmi.remote.listener.port |
(10) |
Connector property file |
TP1 inbound adapter |
scd_port#3 specified in <config-property> tag |
(11) |
Connector property file |
TP1 inbound adapter |
scd_port#4 specified in <config-property> tag#3 |
(12) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
mngagent.connector.port |
(13) |
Easy Setup definition file |
Logical smart agent (smart-agent) |
smartagent.port |
(14) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.naming.port |
(15) |
Adminagent.properties |
Administration Agent |
adminagent.adapter.port key |
(16) |
sinaviagent.properties #4 |
Server Communication Agent |
sinaviagent.port key |
(17) |
mserver.properties |
Management Server |
webserver.connector.http.port key |
(18) |
mserver.properties |
Management Server |
webserver.shutdown.port key |
(19) |
mserver.properties |
Management Server |
webserver.connector.ajp13.port key |
(20) |
mserver.properties |
Management Server |
com.cosminexus.mngsvr.management.port key |
(21) |
mserver.properties |
Management Server |
com.cosminexus.mngsvr.management.listen.port key |
(22) |
Easy Setup definition file |
Logical Web server (web-server) |
Listen |
(23) |
Easy Setup definition file |
Logical Web server (web-server) |
Listen |
(24) |
usrconf.properties (system property file for server management command) |
Server management command |
vbroker.se.iiop_tp.scm.iiop_tp.listener.port key |
(25) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.RegOption |
(26) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.EjbPort |
(27) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.port |
(28) |
Easy Setup definition file |
Logical CTM domain manager (ctm-domain-manager) |
cdm.port |
(29) |
config.properties |
CJMSP Broker |
imq.portmapper.port key |
(30) |
config.properties |
CJMSP Broker |
imq.jms.tcp.port key |
(31) |
config.properties |
CJMSP Broker |
imq.admin.tcp.port key |
(32) |
vmx.properties |
Virtual server manager of 08-50 mode (Management Server) |
vmx.vcenterserver.agent.port key |
(33) |
mserver.properties |
Management Server |
ejbserver.naming.port key |
- #1
-
If the setup file is an Easy Setup definition file, specify the value specified in <param-name> in the <configuration> tag.
- #2
-
RMSHPort is a configuration property specified in the property definition of the resource adapter Cosminexus RM. For details about RMSHPort, see 6. Configuration Properties in the manual Cosminexus Reliable Messaging.
- #3
-
scd_port and trn_port are the configuration properties specified in the property definition of the resource adapter TP1 inbound adapter. For details about scd_port and trn_port, see 4.12.2 Setting up a resource adapter in the uCosminexus Application Server Common Container Functionality Guide.
- #4
-
For details about Server Communication Agent, see the documents related to Server Communication Agent.
- Reference note
-
The following table describes the locations for specifying TCP/UDP port numbers when setting up Application Server:
Table 17‒19: Locations for specifying TCP/UDP port numbers when setting up Application Server No.
Setup location when setting up by editing the file
(1)
vbroker.se.iiop_tp.scm.iiop_tp.listener.port key in usrconf.properties
(2)
ejbserver.http.port key in usrconf.properties
(3)
webserver.connector.ajp13.port key in usrconf.properties
(4)
ejbserver.distributedtx.recovery.port key in usrconf.properties
(5)
ejbserver.naming.port key in usrconf.properties
(6)
webserver.connector.inprocess_http.port key of usrconf.properties
(7)
ejbserver.rmi.naming.port key in usrconf.properties
(8)
RMSHPort#1 specified in the <config-property> tag of the Connector property file
(9)
ejbserver.rmi.remote.listener.port key of usrconf.properties
(10)
scd_port specified in the <config-property> tag of the resource adapter of Connector property file of TP1 inbound adapter
(11)
trn_port specified in the <config-property> tag of the resource adapter of Connector property file of TP1 inbound adapter
(12)
mngagent.connector.port key in the mngagent.real-server-name.properties file
(13)
Environment variable OSAGENT_PORT
(14)
-
When auto-starting CORBA Naming Service in in-process or out-process
ejbserver.naming.port key of usrconf.properties
-
When manually starting CORBA Naming Service
Specify -Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=port-number in the command argument of the nameserv command.
(15)
adminagent.adapter.port key in adminagent.properties
(16)
sinaviagent.port key in sinaviagent.properties#2
(17)
webserver.connector.http.port key in mserver.properties
(18)
webserver.shutdown.port key in mserver.properties
(19)
webserver.connector.ajp13.port key in mserver.properties
(20)
com.cosminexus.mngsvr.management.port key in mserver.properties
(21)
com.cosminexus.mngsvr.management.listen.port key in mserver.properties
(22)
Listen directive or Port directive of httpsd.conf
(23)
Listen directive or Port directive of httpsd.conf
(24)
vbroker.se.iiop_tp.scm.iiop_tp.listener.port key in usrconf.properties (system properties file for server management commands)
(25)
Argument of the ctmregltd command or ctmstart command - CTMEjbPort
(26)
Argument of the ctmstart command - CTMEjbPort
(27)
Argument of the ctmstart command - CTMPort
(28)
Argument of the ctmdmstart command - CTMPort.
(29)
imq.portmapper.port key in config.properties
(30)
imq.jms.tcp.port key in config.properties
(31)
imq.admin.tcp.port key in config.properties
(32)
vmx.vcenterserver.agent.port key in vmx.properties
(33)
ejbserver.naming.port key in mserver.properties
- #1
-
RMSHPort is a configuration property specified in the property definition of the resource adapter Cosminexus RM. For details about RMSHPort, see 6. Configuration Properties in the manual Cosminexus Reliable Messaging.
- #2
-
For the details about Server Communication Agent, see the documents related to Server Communication Agent.
-
- Important note
-
Notes on the standby port for a server (In UNIX)
In UNIX, when all the following conditions are satisfied, a connection might be successfully established with a TCP port that is not in a standby status:
-
An attempt is made to establish a connection with a port that is not in a standby status
-
The host itself is the connection target, and the port is in the range of the temporary port numbers (the range of port numbers that are dynamically allocated by the OS)
When this event occurs, the assumed process communication cannot be executed and a timeout occurs. To avoid this event, specify a value outside the range of the temporary port numbers as the standby port of the server. You can check the range of the temporary port numbers in the following files:
- In AIX
-
Minimum value (32768): no -o tcp_ephemeral_low
Maximum value (65535): no -o tcp_ephemeral_high
- In Linux
-
/proc/sys/net/ipv4/ip_local_port_range
For details on how to set up the standby port of a server, see the documentation for the OSs.
-