Vous êtes sur la page 1sur 4

AS Java Ports

PDF download from SAP Help Portal:


http://help.sap.com/saphelp_nw73ehp1/helpdata/en/a2/f9d7fed2adc340ab462ae159d19509/frameset.htm

Created on February 02, 2017

The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help
Portal.

Note

This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.

© 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP
SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are
provided by SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP
Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set
forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in
Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Table of content

PUBLIC Page 1 of 4
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Table of content
1 AS Java Ports

PUBLIC Page 2 of 4
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
1 AS Java Ports
The default AS Java ports enable you to establish communication to an AS Java instance as part of the SAP NetWeaver cluster. The ports are generated at
installation time and when new cluster elements have to be created.

AS Java Ports
For AS Java, 20 ports are available for the ICMelement and 80 are available for the server elements, since five is the maximum number of ports for a server
process. Therefore, no more than 16 server cluster elements can be created on one instance.
The default AS Java ports meet the following requirements:
The port value is a number over 50000.
For each cluster element, the ports begin with 50000+100*<instance_number> , where <instance_number> is a two-digit number from 00 to 99
specifying the number of central instance and dialog instances.

Note
You can see the instance number from the directory, where the AS Java is installed. Under /usr/sap/<SID>, there is a directory whose name
contains the instance name including the instance number. For example, JC40 (where 40 is the instance number).

Dispatcher <port_index> Values

Index Port Name

0 HTTP port

1 HTTP SSL port

2 IIOP Initial Context port

3 IIOP SSL port

4 P4 and JMS port

5 P4 SSL port

6 IIOP port

7 Telnet port

For server cluster elements the ports are created from 50000+100*<instance_number>+20+n*5+<port_index>, where n is the number of server
elements from 0 to 15 and <port_index> is from 0 to 4 .

You can see the number of the server element from the installation directory of the AS Java. Under
<Drive>:\usr\sap\<SAPSID>\<Instance_Name>\j2ee\cluster, there are server<Server_Number> directories representing the server processes in

the AS Java. Their number depends on the number specified at installation time.
The ports for AS Java server3 with <instance_number>=15 are from 51535 ( 50000+100*15+20+3*5+0 ) to 51539 ( 50000+100*15+20+3*5+4 ).

Server <port_index> Values

Index Port Name

0 Join port

1 Debug port

According to the formula mentioned above and the <port_index> values, the server ports for the AS Java are as follows:
AS Java Server Ports

Internal Port Value

Server Join Port For s0 = 5NN20; for s1 = 5NN25; for s2 = 5NN30; etc.
For s15 = 5NN95, where s0, s1, s2,…, s15 shows the number of server processes,
and NN is the instance number.

Server Debug Port For s0 = 5NN21; for s1 = 5NN26; for s2 = 5NN31; etc.
For s15 = 5NN96, where s0, s1, s2,…, s15 shows the number of server processes,
and NN is the instance number.

DSR Infrastructure For s0 = 5NN22; for s1 = 5NN27; for s2 = 5NN32; etc.


For s15 = 5NN97, where s0, s1, s2,…, s15 shows the number of server processes
and NN is the instance number.

Example
The port for P4 on a dispatcher element with <instance_number>=15 is:
P4 port=50000+100*15+4=51504

Administrative Services for AS Java Ports


There are additional administrative services used by the AS Java. The corresponding ports are shown in the table below.
Administrative Service Ports

PUBLIC Page 3 of 4
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Service Port Default Range

Start service HTTP 5NN13 50013 50013-59913

Start service HTTPS 5NN14 50014 50014-59914

SL Controller 5NN17 50017 Not applicable


5NN18 50018
5NN19 50019

See Also
TCP/IP Ports Used by SAP Applications
This document provides a complete list of the ports used in conjunction with the AS Java, for example, the ports used by SAPinst during installation or when
using the SAP Web Dispatcher. You can find this document on the SAP Developer Network at www.sdn.sap.com/irj/sdn/security under
Infrastructure Security → Network and Communications Security .

PUBLIC Page 4 of 4
© 2014 SAP SE or an SAP affiliate company. All rights reserved.