Cannot sent port in WebUI.Authentication Method

I have set up the authentication method with a URL that has a specific port (example is: http://URL:PORT/login?TARGET=https%3A%2F%2FURL%3APORT%2FNameofservice%2Fj_spring_cas_security_check
It looks like the method is dropping the port from the script. The script version is:
The error message indicates that the port is missing, from the URL (i can get more specific off line)
Test Cases/mockcas sign on FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to navigate to authenticated page (Root cause: org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=http%3A//USER%3APASSWORD%40URL but no PORT&c=UTF-8&f=regular&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%20URL without the PORT

Thank you for any help you can give.
Debbie Johnson
Virginia Tech