Tuesday, October 21, 2008

Calculating J2EE Port Numbers

The J2EE ports are created via the following formula. Port Number = 50000+100*instance_number+port_index

Index Port Name
-----------------------
0 HTTP port
1 HTTP SSL port
2 IIOP Initial Context port
3 IIOP SSL port
4 P4 port
5 P4 HTTP Tunneling port
6 P4 SSL port
7 IIOP port
8 Telnet port
10 JMS port

example: inst num=02

HTTP Port = 50200
HTTP SSL Port = 50201
IIOP Initial Context port = 50202
IIOP SSL port = 50203
P4 port = 50204
P4 HTTP Tunneling port = 50205
P4 SSL port = 50206
IIOP port = 50207
Telnet port = 50208
JMS port = 50210

For more information about Port Numbers, please refer to http://service.sap.com/security > Security in Detail > Infrastructure Security > TCP/IP Ports Used by SAP Applications Document.

Archive