In order to be able to get a free TCP Port, you do not need to write any property in the "Host name or IP" and "TCP port" fields of your custom action, you just need to assign the "AI_SEARCH_TCP_PORT" property to the "Edit box" control where the user will introduce the port (as shown in the third image of the "How to check if a TCP port is free by using a custom action" tutorial).
FOLLOW US
Get the latest news in Application Packaging