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
12 comments:
Thanks for posting..
Wow,
Keep this up. This just helped me remember how to figure these things out after 2+ years of inactivity. We can now use the deploy.sh script to deploy a troubleshooting tool!
The internet is great!
Hats off sirji.............
parag
Thanks a lot Parag
how to change port number
The Http port number is 50000 but my current port number of Http is 8000, how to change it
hi durgaprasad, please can you let us know how to open ports on sap server. what is the importance of opening them and is it safe? I checked on many sites but didnt got the process in detail to open ports like gateway,, or else.. please post it...
You just saved my ass! Many thanks bro!
very useful information swathi
What are use of different ports?
Hello Durga Prasad sir..
This is the best sap Basis blog for all the Basis Guys...is this blog still active because i cant see any latest updates here.
Will you please update the blog with the latest Patching and upgrade activities with SUM Tool that will be very useful for us.
Your response will be very much appreciated and this will be so much useful for us.
We always thankful to you sir.
Thanks,
Pawan.
Thank you Tirumalesh for your nice comments.. Sure will try to post more often. Yes, it is true, i was not active for few years due to my personal problems.. but nice comments from people like you will definitely motivate me to take some time out of my busy life to help you guys.
Netweaver installation error -
com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 192.168.2.5 and port: 50404
Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.
can you suggest how to resolve ?
Post a Comment