Wednesday 21 September 2011

How to identify various ports of an SAP system?

This article answers the following queries:
§  How to identify various ports of an SAP system?
§  What are the various protocols of an SAP system?
§  How to identify http and https ports of an SAP system?
§  How to identify telnet port of an SAP system?
§  How to identify P4 port of an SAP system?
§  How to open java stack if http(s) port is not known for an SAP system?
--------------------------------------------------------------------------
There are various protocols that are used in an SAP system. Each of these protocols is associated with a sap port. Sometimes we need to know these ports to specify in some configurations etc. These ports of an SAP system can be found out as mentioned below:
1)    Login to SAP system ABAP stack
2)    Goto SMICM transaction
It displays screen as shown below


























3)    Click the highlighted services button in the above screen, which displays the below screen




     As listed in the above screen, there will be various services running in SAP system like
·         HTTP
·         HTTPS
·         P4
·         IIOP
·         SMTP
·         TELNET

From the above screen, we can make out what are the various services running in that SAP system and the ports on which they are running.
Please find below interesting aspects of port numbers on how they were derived :
HTTP port is 50100 (It means 5<instance_ num>00)
HTTPS port is 50101  (It means 5<instance_num>01 )
Always HTTPS port ends with 1. It is nothing but HTTP port + 1
P4 port is 50104  ( It means 5<instance_num>04)
As the name indicates, P4 port always ends with 4
Telnet Port is 50108 ( It means 5<instance_num>08)
Most of the cases, telnet port ends with 8.

How to open java stack if http(s) port is not known for an SAP system?
In some cases, if you donot know the java link of a particular server,  you can figure out the same & open following below process :
1)    Goto SMICM and identify http(s) ports
2)    Identify hostname of the server
Then follow  the below convention to open nwa of  java stack
http://<hostname>:5<instance_num>00/nwa 
eg: http://sapserv12:50100/nwa
or
https://<hostname>:5<instance_num>01/nwa  
eg: https://sapserv12:50101/nwa
Enter your email address:


Delivered by FeedBurner

0 comments:

Post a Comment