One Star

SAP Connector using hostname and port

I am used to connect on SAP using host ip address or using sap router address, but i am facing a different issue. I do need to connect using ipSmiley Tongueort but using ipSmiley Tongueort does not work, and using just the ip it gets a random port to connect.
Could somebody help me about it?
Is the configuration on "Host Name" field?