Web sessions parameters- dynamic port

I have created a "
Web sessions parameters" , but my URL format is https://myurl:port (example: https://device1.com:5678/login)., create a web sessions parameters (https://[hostname]: 444/login), but I would like to make the port dynamic as well, according to the https port selected when creating the device.
Is there any keyword like [hostname]?

Hello @EDGAR_BAZAN,
In this case, you must create two separate devices and separate parameters, and you can only have one session parameter per device and model.