Communication Ports in ABAP NetWeaver : Beginner Friendly

So this is more about ports and communication with respect to a ABAP NETWEAVER SETUP and these are pretty basic things that we would be discussing. This is for complete beginners who have no clue about networking.



As a BASIS Consultant you will encounter this multiple times in your life that you need to raise a ticket to your OS Team or SM Team to assign a port to a service or to open a port.


Ever wondered what this port is and what is its need ?


Do this before reading forward , 


Open command prompt in your windows as an administrator and get result of netstat -ab , you will get a list like this (Google your option if using any other user)



I highlighted the port number, things that comes after the IP, you can notice that we have the same IP and different port numbers for different services . Understand this like IP is your building (SAP SYSTEM) with multiple flats in which different flats , different services reside. 


Let's understand using this figure : (Click on Image)






Service


Port Number / Service Name

(<NN>=instance number)

Default

Range

Dispatcher

32<NN>

sapdp<NN>

3200

3200-3299

sapdp00-sapdp99

Gateway

33<NN>

sapgw<NN>

3300

3300-3399

sapgw00-sapgw99

Internet Communication Manager (ICM) HTTP

80<NN>

8000

Free

ICM HTTPS

443<NN> (convention for multiple instances)

Not active

Free

ICM SMTP

25

Not active

25 (no other port generally supported by SMTP)

Message Server

36<NN>

sapms<SID>

3600

sapmsC11

Free

sapms<any SID>

Message Server HTTP

81<NN>

8100

Free

Message Server HTTPS

444<NN> (convention for multiple instances)

Not active

Free

Start service HTTP

5<NN>13

sapctrl<NN>

50013

50013-59913

Start service HTTPS

5<NN>14

50014

50014-59914



Now I would like to add one small point. We have two types of ports : Internal and External.


As the name suggests, Internal ports are used when processes are having communication internally like Dispatcher connecting with the Gateway.

Internal Ports

The following ports are used internally on the AS for ABAP.

Service

Port Number / Service Name

(<NN>=instance number)

Default

Range

Dispatcher

32<NN>/UDP

3200/UDP

3200-3299/UDP

Gateway

33<NN>/UPD

3300/UDP

3300-3399/UDP

ICM Admin

Detected automatically

65000 or next free lower port

65000 or less



Read More :-

Comments