3.15 TCP/UDP port numbers used by Application Server processes
This subsection describes the TCP/UDP port numbers used by Application Server processes.
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:
Note: For other legend items, see 3.2 Description of the system configuration.
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) |
ejbserver.distributedtx.recovery.port |
(4) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
inprocess.ns.port |
(5) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
webserver.connector.nio_http.port |
(6) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.rmi.naming.port |
(7) |
Connector property file |
Reliable Messaging |
RMSHPort specified in <config-property> tag#2 |
(8) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.rmi.remote.listener.port |
(9) |
Connector property file |
TP1 inbound adapter |
scd_port specified in <config-property> tag#3 |
(10) |
Connector property file |
TP1 inbound adapter |
trn_port specified in <config-property> tag#3 |
(11) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
mngagent.connector.port |
(12) |
Easy Setup definition file |
Logical smart agent (smart-agent) |
smartagent.port |
(13) |
Easy Setup definition file |
Logical J2EE server (j2ee-server) |
ejbserver.naming.port |
(14) |
Adminagent.properties |
Administration Agent |
adminagent.adapter.port key |
(15) |
sinaviagent.properties #4 |
Server Communication Agent |
sinaviagent.port key |
(16) |
mserver.properties |
Management Server |
webserver.connector.http.port key |
(17) |
mserver.properties |
Management Server |
webserver.shutdown.port key |
(18) |
mserver.properties |
Management Server |
webserver.connector.ajp13.port key |
(19) |
mserver.properties |
Management Server |
com.cosminexus.mngsvr.management.port key |
(20) |
mserver.properties |
Management Server |
com.cosminexus.mngsvr.management.listen.port key |
(21) |
Easy Setup definition file |
Logical Web server (web-server) |
Listen |
(22) |
Easy Setup definition file |
Logical Web server (web-server) |
Listen |
(23) |
usrconf.properties (system property file for server management command) |
Server management command |
vbroker.se.iiop_tp.scm.iiop_tp.listener.port key |
(24) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.RegOption |
(25) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.EjbPort |
(26) |
Easy Setup definition file |
Logical CTM (component-transaction-monitor) |
ctm.port |
(27) |
Easy Setup definition file |
Logical CTM domain manager (ctm-domain-manager) |
cdm.port |
(28) |
config.properties |
CJMSP Broker |
imq.portmapper.port key |
(29) |
config.properties |
CJMSP Broker |
imq.jms.tcp.port key |
(30) |
config.properties |
CJMSP Broker |
imq.admin.tcp.port key |
(31) |
mserver.properties |
Management Server |
ejbserver.naming.port key |
- Reference note
-
The following table describes the locations for specifying TCP/UDP port numbers when setting up Application Server:
Table 3‒5: 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)
ejbserver.distributedtx.recovery.port key in usrconf.properties
(4)
ejbserver.naming.port key in usrconf.properties
(5)
ebserver.connector.nio_http.port key in usrconf.properties
(6)
ejbserver.rmi.naming.port key in usrconf.properties
(7)
RMSHPort# specified in the <config-property> tag of the Connector property file
(8)
ejbserver.rmi.remote.listener.port key of usrconf.properties
(9)
scd_port specified in the <config-property> tag of the resource adapter of Connector property file of TP1 inbound adapter
(10)
trn_port specified in the <config-property> tag of the resource adapter of Connector property file of TP1 inbound adapter
(11)
mngagent.connector.port key in the mngagent.real-server-name.properties file
(12)
Environment variable OSAGENT_PORT
(13)
-
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.
(14)
adminagent.adapter.port key in adminagent.properties
(15)
sinaviagent.port key in sinaviagent.properties
(16)
webserver.connector.http.port key in mserver.properties
(17)
webserver.shutdown.port key in mserver.properties
(18)
com.cosminexus.mngsvr.management.port key in mserver.properties
(19)
com.cosminexus.mngsvr.management.listen.port key in mserver.properties
(20)
Listen directive or Port directive of httpsd.conf
(21)
Listen directive or Port directive of httpsd.conf
(22)
vbroker.se.iiop_tp.scm.iiop_tp.listener.port key in usrconf.properties (system properties file for server management commands)
(23)
Argument of the ctmregltd command or ctmstart command - CTMEjbPort
(24)
Argument of the ctmstart command - CTMEjbPort
(25)
Argument of the ctmstart command - CTMPort
(26)
Argument of the ctmdmstart command - CTMPort.
(27)
imq.portmapper.port key in config.properties
(28)
imq.jms.tcp.port key in config.properties
(29)
imq.admin.tcp.port key in config.properties
(30)
vmx.vcenterserver.agent.port key in vmx.properties
(31)
ejbserver.naming.port key in mserver.properties
-
- 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.
-