The parameters you need for connecting to a message server is:
message server hostname
and the SID of the system.
The SID of the system is used to find entry sapmsSID /windows/system32/drivers/etc/services to determine the right port for the service. The service name does not contain any part of the instance number the message server is using.
Hence can use a tcp port of your choise for sapmsSID with following restrictions:
- the port must be free on the message server host
- on all computers where you have programs running which connect to this message server, you have to define the entry sapmsSID in the file /windows/system32/drivers/etc/services
regards
Peter
PS: The instance umber in above screen copy is only informational for a selected server and has no meaning when using logon groups