# Error "Connection refused: no further information" by recording Windows action

**URL:** <https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294>\
**Category:** Web Testing\
**Tags:** windows-action-recor\
**Created:** [March 14, 2024, 1:30am UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294 "2024-03-14T01:30:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.jorritsma](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/a.jorritsma/32/23870_2.png) [@a.jorritsma](https://forum.katalon.com/u/a.jorritsma)\
**Post date:** [March 14, 2024, 1:30am UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/1 "2024-03-14T01:30:11Z")

</div>

I’m trying to setup Katalon for creating testscripts for desktop applications. I’m following the instruction in Katalon and are at the step for recording my first test.

But I get this error below. Anyone a solution?

java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: Connection refused: no further information  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘L00213’, ip: ‘192.168.2.22’, os.name: ‘Windows 11’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’  
Driver info: driver.version: WindowsDriver  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)  
at com.kms.katalon.composer.windows.dialog.WindowsAppComposite$5.run(WindowsAppComposite.java:238)  
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)  
Caused by: org.openqa.selenium.WebDriverException: Connection refused: no further information  
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’  
System info: host: ‘L00213’, ip: ‘192.168.2.22’, os.name: ‘Windows 11’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’  
Driver info: driver.version: WindowsDriver  
at io.appium.java\_client.remote.AppiumCommandExecutor.lambda$5(AppiumCommandExecutor.java:251)  
at io.appium.java\_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250)  
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)  
at io.appium.java\_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)  
at io.appium.java\_client.AppiumDriver.execute(AppiumDriver.java:1)  
at io.appium.java\_client.windows.WindowsDriver.execute(WindowsDriver.java:1)  
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)  
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)  
at io.appium.java\_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)  
at io.appium.java\_client.AppiumDriver.(AppiumDriver.java:84)  
at io.appium.java\_client.windows.WindowsDriver.(WindowsDriver.java:38)  
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.newWindowsDriver(WindowsDriverFactory.java:194)  
at com.kms.katalon.core.windows.driver.WindowsDriverFactory.startApplication(WindowsDriverFactory.java:112)  
at com.kms.katalon.composer.windows.spy.WindowsInspectorController.startApplication(WindowsInspectorController.java:147)  
at com.kms.katalon.composer.windows.dialog.WindowsAppComposite$5$1.call(WindowsAppComposite.java:241)  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)  
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)  
… 2 more  
Caused by: java.net.ConnectException: Connection refused: no further information  
at okhttp3.internal.platform.Platform.connectSocket(Platform.java:129)  
at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:245)  
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:165)  
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)  
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)  
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)  
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)  
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)  
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)  
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)  
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)  
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)  
at okhttp3.RealCall.execute(RealCall.java:77)  
at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103)  
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at io.appium.java\_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)  
at io.appium.java\_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)  
at io.appium.java\_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)  
… 17 more

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [March 14, 2024, 5:28am UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/2 "2024-03-14T05:28:40Z")

</div>

accessing your app behind any firewall ?

---

<div class="post-metadata">

**Author:** ![a.jorritsma](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/a.jorritsma/32/23870_2.png) [@a.jorritsma](https://forum.katalon.com/u/a.jorritsma)\
**Post date:** [March 14, 2024, 7:21am UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/3 "2024-03-14T07:21:39Z")

</div>

I’m following the tutorial in Katalon for getting started with creating script for desktop applications (menu Help - Tutorials). The application is on my laptop (notepad++).  
And with webapps I didn’t have this problem…

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 14, 2024, 2:45pm UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/4 "2024-03-14T14:45:59Z")

</div>

I think you are trying to make a Windows project within the Web project folder. Reread the instructions again on how to **start** to make a Windows project.

---

<div class="post-metadata">

**Author:** ![a.jorritsma](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/a.jorritsma/32/23870_2.png) [@a.jorritsma](https://forum.katalon.com/u/a.jorritsma)\
**Post date:** [March 15, 2024, 2:04pm UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/5 "2024-03-15T14:04:07Z")

</div>

No, I created a new project and selected the type “Desktop”

But with searching the internet I found this solution [Katalon Studio 7.0 RC1 Win Application connection refused - #5 by duyluong](http://forum.katalon.com/t/katalon-studio-7-0-rc1-win-application-connection-refused/33238/5) (with searching in the forum I didn’t find this topic).  
With manually starting the Windows Application Driver in admin-mode I was able to record a script for a desktop application.

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 15, 2024, 5:44pm UTC](https://forum.katalon.com/t/error-connection-refused-no-further-information-by-recording-windows-action/124294/6 "2024-03-15T17:44:31Z")

</div>

Mark your answer as the Solution so **others** can see there is an answer to this question and they can use it when they have this same concern.
