Unable to launch browsers "Chrome" or "Firefox" to during "Run" and "Debug" time

Hi Katalon Team,

I am not able to launch the browsers during run and debug time as getting the following errors.
During Run:

06-04-2018 05:09:36 PM - [INFO] - Opening browser

06-04-2018 05:09:36 PM - [INFO] - Starting ‘Firefox’ driver

06-04-2018 05:09:36 PM - [INFO] - Action delay is set to 0 seconds

06-04-2018 05:09:38 PM - [FAILED] - Unable to open browser with url: ‘’ (Root cause: java.lang.RuntimeException: Unable to find a free port)

06-04-2018 05:09:38 PM - [FAILED] - Test Cases/TC2 FAILED because (of) Unable to open browser with url: ‘’ (Root cause: java.lang.RuntimeException: Unable to find a free port)

06-04-2018 05:09:38 PM - [END] - End action : openBrowser

06-04-2018 05:09:38 PM - [END] - End Test Case : Test Cases/TC2

During Debug:

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

ERROR: transport error 202: unable to create socket: Invalid argument

ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)

JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

Please help me to resolve it.

Thanks
Mohammad Rafi Ansari

Please check your localhost file to see if there is any incorrect value regard to localhost pointer here