It’s normal you have to import it using the old system the VAR mode from what I understand does not include the CUSTOM variables so do it like this
As you can see I got my default value “443” then this value is in string
and now i can call this var into my TCP block
BLOCK:ConstantString
value = $"<input.PORTA>"
=> VAR @constantStringOutput
ENDBLOCK
//int StrToInt = int.Parse(constantStringOutput); If you ever want to convert it to integer
BLOCK:TcpConnect
port = @constantStringOutput
ENDBLOCK
Hopefully this issue should be fixed in the new version of OB2, I think I made a patch for this exact case in the past but it didn’t make it to a release yet. Then you will be able to use input.PORTA directly.