I am having trouble installing or connecting to Nethunter Kex. It gives me the error "Connection failed...connection to VNC server failed with reason: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 44534): connect failed: ECONNREFUSED (Connection refused).

The error continues. I will paste the log here. I have a feeling it might be because I'm using GrapheneOS, although I don't know any workaround. I looked up a solution, and this post suggests using 10.0.2.2 instead of localhost:1. I did that, I didn't get an error, but it was attempting to connect for a while with no luck. Does Nethunter Kex not work on GrapheneOS? I apologize if I have not provided enough information.

Code:

Code:
--------- beginning of main
12-09 13:13:22.025 32551 32551 I libc    : SetHeapTaggingLevel: tag level set to 0
12-09 13:13:22.031 32551 32551 E c.nethunter.kex: Not starting debugger since process cannot load the jdwp agent.
12-09 13:13:22.089 32551 32551 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 10151 <<<<<<
12-09 13:13:22.092 32551 32551 I AndroidRuntime: Using default boot image
12-09 13:13:22.087 32551 32551 W c.nethunter.kex: type=1400 audit(0.0:44927): avc: denied { read } for name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=247 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0 app=com.offsec.nethunter.kex
12-09 13:13:22.092 32551 32551 I AndroidRuntime: Leaving lock profiling enabled
12-09 13:13:22.092 32551 32551 W libc    : Access denied finding property "odsign.verification.success"
12-09 13:13:22.092 32551 32551 E cutils-trace: Error opening trace file: No such file or directory (2)
12-09 13:13:22.094 32551 32551 W com.offsec.nethunter.kex: ART APEX data files are untrusted.
12-09 13:13:22.091 32551 32551 W c.nethunter.kex: type=1400 audit(0.0:44928): avc: denied { getattr } for path="/apex/apex-info-list.xml" dev="tmpfs" ino=67 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0 app=com.offsec.nethunter.kex
12-09 13:13:22.095 32551 32551 W c.nethunter.kex: type=1400 audit(0.0:44929): avc: denied { lock } for path="/system/framework/arm64/boot.art" dev="dm-12" ino=1403 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.offsec.nethunter.kex
12-09 13:13:22.095 32551 32551 W c.nethunter.kex: type=1400 audit(0.0:44930): avc: denied { lock } for path="/system/framework/arm64/boot-core-libart.art" dev="dm-12" ino=1355 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.offsec.nethunter.kex
12-09 13:13:22.095 32551 32551 W c.nethunter.kex: type=1400 audit(0.0:44931): avc: denied { lock } for path="/system/framework/arm64/boot-okhttp.art" dev="dm-12" ino=1385 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0 app=com.offsec.nethunter.kex
12-09 13:13:22.169 32551 32551 D com.offsec.nethunter.kex: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
12-09 13:13:22.169 32551 32551 D com.offsec.nethunter.kex: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt70l.dat
12-09 13:13:22.191 32551 32551 D AndroidRuntime: Calling main entry com.android.internal.os.ExecInit
12-09 13:13:22.191 32551 32551 D Zygote  : begin preload
12-09 13:13:22.191 32551 32551 I Zygote  : Calling ZygoteHooks.beginPreload()
12-09 13:13:22.202 32551 32551 I Zygote  : Preloading shared libraries...
12-09 13:13:22.204 32551 32551 E com.offsec.nethunter.kex: Unable to find pattern file or unable to map it for am
12-09 13:13:22.204 32551 32551 I Zygote  : Called ZygoteHooks.endPreload()
12-09 13:13:22.212 32551 32551 I Zygote  : Installed AndroidKeyStoreProvider in 7ms.
12-09 13:13:22.212 32551 32551 D Zygote  : end preload
12-09 13:13:22.212 32551 32551 I libc    : SetHeapTaggingLevel: tag level set to 0
12-09 13:13:22.218 32551 32577 W libc    : Access denied finding property "qemu.sf.lcd_density"
12-09 13:13:22.218 32551 32577 W libc    : Access denied finding property "qemu.sf.lcd_density"
12-09 13:13:22.225 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10151; state: DISABLED
12-09 13:13:22.225 32551 32551 I Typeface: Preloading /system/fonts/Roboto-Regular.ttf
12-09 13:13:22.226 32551 32551 I Typeface: Preloading /system/fonts/RobotoStatic-Regular.ttf
12-09 13:13:22.253 32551 32551 W com.offsec.nethunter.kex: unable to execute idmap2: Permission denied
12-09 13:13:22.253 32551 32551 W OverlayConfig: 'idmap2 create-multiple' failed: no mutable="false" overlays targeting "android" will be loaded
12-09 13:13:22.277 32551 32551 V GraphicsEnvironment: ANGLE Developer option for 'com.offsec.nethunter.kex' set to: 'default'
12-09 13:13:22.277 32551 32551 V GraphicsEnvironment: ANGLE GameManagerService for com.offsec.nethunter.kex: false
12-09 13:13:22.277 32551 32551 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
12-09 13:13:22.279 32551 32551 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-09 13:13:22.279 32551 32551 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-09 13:13:22.304 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10151; state: ENABLED
12-09 13:13:22.306 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10151; state: DISABLED
12-09 13:13:22.306 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10151; state: DISABLED
12-09 13:13:22.328 32551 32551 I GetTextFragment: newInstance called
12-09 13:13:22.328 32551 32551 I GetTextFragment: newInstance called
12-09 13:13:22.330 32551 32551 D PermissionsManager: [android.permission.INTERNET, android.permission.VIBRATE, android.permission.ACCESS_NETWORK_STATE, android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.OTHER_SENSORS, android.permission.POST_NOTIFICATIONS, android.permission.ACCESS_MEDIA_LOCATION, android.permission.READ_MEDIA_AUDIO, android.permission.READ_MEDIA_VIDEO, android.permission.READ_MEDIA_IMAGES]
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.344 32551 32551 W Activity: Can request only one set of permissions at a time
12-09 13:13:22.345 32551 32551 I MainConfiguration: onStart called
12-09 13:13:22.348 32551 32551 I MainConfiguration: onResume called
12-09 13:13:22.348 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:13:22.351 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:13:22.370 32551 32551 I MainConfiguration: onPause called
12-09 13:13:22.409 32551 32581 E cutils-trace: Error opening trace file: No such file or directory (2)
12-09 13:13:37.282 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 78294732; UID 10151; state: DISABLED
12-09 13:13:37.282 32551 32551 I MainConfiguration: onResume called
12-09 13:13:37.283 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:13:37.283 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:13:37.325 32551 32551 D CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10151; state: DISABLED
12-09 13:13:47.435 32551 32551 D InputMethodManager: showSoftInput() view=android.widget.EditText{400b382 VFED..CL. .F.P..ID 0,0-865,118 #7f080159 app:id/textPASSWORD aid=1073741836} flags=0 reason=SHOW_SOFT_INPUT
12-09 13:13:47.495 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:13:47.495 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:13:47.514 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:13:59.987 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:13:59.987 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:13:59.998 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:14:11.701 32551 32551 I MainConfiguration: onPause called
12-09 13:14:11.923 32551 32551 I RemoteCanvas: Initializing connection to: localhost, port: 1
12-09 13:14:11.924 32551 32669 I RemoteCanvas: Establishing VNC session to: localhost, port: 5901
12-09 13:14:11.924 32551 32669 V RfbProto: Connecting to server: localhost at port: 5901
12-09 13:14:11.924 32551 32551 I InputHandlerGeneric: displayDensity, baseSwipeDist, immersiveSwipeDistance: 2.625 26.25 26.25
12-09 13:14:11.925 32551 32669 D TrafficStats: tagSocket(77) with statsTag=0xffffffff, statsUid=-1
12-09 13:14:11.926 32551 32669 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 60062): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:11.926 32551 32669 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:11.926 32551 32669 W System.err:     ... 14 more
12-09 13:14:11.926 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:14:11.926 32551 32669 E RemoteCanvas: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:14:11.926 32551 32669 E RemoteCanvas: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 60062): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 E RemoteCanvas: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 60062): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:11.926 32551 32669 E RemoteCanvas: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:11.926 32551 32669 E RemoteCanvas:     ... 14 more
12-09 13:14:11.926 32551 32669 W System.err: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:14:11.926 32551 32669 W System.err: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 60062): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 60062): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:11.926 32551 32669 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:11.926 32551 32669 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:11.926 32551 32669 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:11.926 32551 32669 W System.err:     ... 14 more
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:475)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:11.926 32551 32669 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:11.926 32551 32669 V RfbProto: RFB socket closed
12-09 13:14:11.926 32551 32669 V RemoteCanvas: Cleaning up resources
12-09 13:14:12.044 32551 32551 I MainConfiguration: onStop called
12-09 13:14:23.288 32551 32581 D OpenGLRenderer: endAllActiveAnimators on 0xd0a6453dc800 (RippleDrawable) with handle 0xcf8bdec6c030
12-09 13:14:23.339 32551 32551 I MainConfiguration: onStart called
12-09 13:14:23.340 32551 32551 I MainConfiguration: onResume called
12-09 13:14:23.340 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:14:23.340 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:14:23.433 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:14:23.433 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:14:23.454 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:14:23.454 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:14:23.459 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:14:23.906 32551 32551 V RfbProto: RFB socket closed
12-09 13:14:23.906 32551 32551 V RemoteCanvas: Cleaning up resources
12-09 13:14:26.129 32551 32551 I MainConfiguration: onPause called
12-09 13:14:26.222 32551 32551 I RemoteCanvas: Initializing connection to: localhost, port: 1
12-09 13:14:26.222 32551 32699 I RemoteCanvas: Establishing VNC session to: localhost, port: 5901
12-09 13:14:26.222 32551 32699 V RfbProto: Connecting to server: localhost at port: 5901
12-09 13:14:26.223 32551 32551 I InputHandlerGeneric: displayDensity, baseSwipeDist, immersiveSwipeDistance: 2.625 26.25 26.25
12-09 13:14:26.223 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:14:26.223 32551 32699 D TrafficStats: tagSocket(69) with statsTag=0xffffffff, statsUid=-1
12-09 13:14:26.224 32551 32699 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 43238): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:26.224 32551 32699 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:26.224 32551 32699 W System.err:     ... 14 more
12-09 13:14:26.224 32551 32699 E RemoteCanvas: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:14:26.224 32551 32699 E RemoteCanvas: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 43238): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 E RemoteCanvas: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 43238): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:26.224 32551 32699 E RemoteCanvas: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:26.224 32551 32699 E RemoteCanvas:     ... 14 more
12-09 13:14:26.224 32551 32699 W System.err: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:14:26.224 32551 32699 W System.err: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 43238): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 43238): connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:14:26.224 32551 32699 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:26.224 32551 32699 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:14:26.224 32551 32699 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:14:26.224 32551 32699 W System.err:     ... 14 more
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:475)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:14:26.224 32551 32699 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:14:26.224 32551 32699 V RfbProto: RFB socket closed
12-09 13:14:26.224 32551 32699 V RemoteCanvas: Cleaning up resources
12-09 13:14:26.278 32551 32551 I MainConfiguration: onStop called
12-09 13:19:09.727 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:19:14.126 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:19:17.068 32551 32581 D OpenGLRenderer: endAllActiveAnimators on 0xd0a645576d00 (RippleDrawable) with handle 0xcf8bdec504e0
12-09 13:19:17.115 32551 32551 I MainConfiguration: onStart called
12-09 13:19:17.116 32551 32551 I MainConfiguration: onResume called
12-09 13:19:17.116 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:19:17.116 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:19:17.694 32551 32551 V RfbProto: RFB socket closed
12-09 13:19:17.694 32551 32551 V RemoteCanvas: Cleaning up resources
12-09 13:20:06.187 32551 32551 D InputMethodManager: showSoftInput() view=android.widget.EditText{74a0909 VFED..CL. .F.P..ID 0,0-1054,118 #7f080160 app:id/textUsername aid=1073741835} flags=0 reason=SHOW_SOFT_INPUT
12-09 13:20:06.208 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:20:06.208 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:20:06.246 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:20:14.876 32551 32551 D InputMethodManager: showSoftInput() view=android.widget.EditText{a78cecd VFED..CL. .F.P..ID 930,0-1054,118 #7f08015a app:id/textPORT aid=1073741834} flags=0 reason=SHOW_SOFT_INPUT
12-09 13:20:14.898 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:20:14.898 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:20:14.911 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:20:14.911 32551 32551 D InsetsController: show(ime(), fromIme=true)
12-09 13:20:23.925 32551 32551 I MainConfiguration: onPause called
12-09 13:20:24.033 32551 32551 I RemoteCanvas: Initializing connection to: localhost, port: 1
12-09 13:20:24.033 32551   522 I RemoteCanvas: Establishing VNC session to: localhost, port: 5901
12-09 13:20:24.033 32551   522 V RfbProto: Connecting to server: localhost at port: 5901
12-09 13:20:24.033 32551 32551 I InputHandlerGeneric: displayDensity, baseSwipeDist, immersiveSwipeDistance: 2.625 26.25 26.25
12-09 13:20:24.034 32551   522 D TrafficStats: tagSocket(81) with statsTag=0xffffffff, statsUid=-1
12-09 13:20:24.034 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:20:24.035 32551   522 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 57646): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:24.035 32551   522 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:24.035 32551   522 W System.err:     ... 14 more
12-09 13:20:24.035 32551   522 E RemoteCanvas: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:20:24.035 32551   522 E RemoteCanvas: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 57646): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 E RemoteCanvas: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 57646): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:24.035 32551   522 E RemoteCanvas: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:24.035 32551   522 E RemoteCanvas:     ... 14 more
12-09 13:20:24.035 32551   522 W System.err: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:20:24.035 32551   522 W System.err: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 57646): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 57646): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:24.035 32551   522 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:24.035 32551   522 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:24.035 32551   522 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:24.035 32551   522 W System.err:     ... 14 more
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:475)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:24.035 32551   522 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:24.035 32551   522 V RfbProto: RFB socket closed
12-09 13:20:24.035 32551   522 V RemoteCanvas: Cleaning up resources
12-09 13:20:24.143 32551 32551 I MainConfiguration: onStop called
12-09 13:20:26.820 32551 32581 D OpenGLRenderer: endAllActiveAnimators on 0xd0a6453c7e00 (RippleDrawable) with handle 0xcf8bdebe6090
12-09 13:20:26.862 32551 32551 I MainConfiguration: onStart called
12-09 13:20:26.862 32551 32551 I MainConfiguration: onResume called
12-09 13:20:26.863 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:20:26.863 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:20:26.948 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:20:26.948 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:20:27.417 32551 32551 V RfbProto: RFB socket closed
12-09 13:20:27.417 32551 32551 V RemoteCanvas: Cleaning up resources
12-09 13:20:35.832 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:20:35.832 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:20:36.068 32551 32581 D OpenGLRenderer: endAllActiveAnimators on 0xd0a6455bc800 (DropDownListView) with handle 0xcf8bdebfadb0
12-09 13:20:40.212 32551 32551 I MainConfiguration: onPause called
12-09 13:20:40.312 32551 32551 I RemoteCanvas: Initializing connection to: localhost, port: 1
12-09 13:20:40.312 32551   655 I RemoteCanvas: Establishing VNC session to: localhost, port: 5901
12-09 13:20:40.313 32551   655 V RfbProto: Connecting to server: localhost at port: 5901
12-09 13:20:40.313 32551 32551 I InputHandlerGeneric: displayDensity, baseSwipeDist, immersiveSwipeDistance: 2.625 26.25 26.25
12-09 13:20:40.314 32551   655 D TrafficStats: tagSocket(80) with statsTag=0xffffffff, statsUid=-1
12-09 13:20:40.314 32551 32551 I RemoteCanvasActivity: onResume called.
12-09 13:20:40.314 32551   655 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 58590): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:40.314 32551   655 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:40.314 32551   655 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:40.314 32551   655 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:40.314 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:40.314 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:40.314 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:40.314 32551   655 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:40.314 32551   655 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:40.314 32551   655 W System.err:     ... 14 more
12-09 13:20:40.314 32551   655 E RemoteCanvas: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:20:40.314 32551   655 E RemoteCanvas: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 58590): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.314 32551   655 E RemoteCanvas: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 58590): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:40.314 32551   655 E RemoteCanvas: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:40.314 32551   655 E RemoteCanvas:     ... 14 more
12-09 13:20:40.314 32551   655 W System.err: java.lang.Exception: Connection to VNC server failed with reason: 
12-09 13:20:40.315 32551   655 W System.err: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 58590): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.315 32551   655 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 58590): connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:187)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.Socket.connect(Socket.java:646)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.Socket.connect(Socket.java:595)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.Socket.<init>(Socket.java:475)
12-09 13:20:40.315 32551   655 W System.err:     at java.net.Socket.<init>(Socket.java:243)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:40.315 32551   655 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.Linux.connect(Native Method)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:158)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.ForwardingOs.connect(ForwardingOs.java:201)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:201)
12-09 13:20:40.315 32551   655 W System.err:     at libcore.io.IoBridge.connect(IoBridge.java:179)
12-09 13:20:40.315 32551   655 W System.err:     ... 14 more
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:475)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
12-09 13:20:40.315 32551   655 W System.err:     at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
12-09 13:20:40.315 32551   655 V RfbProto: RFB socket closed
12-09 13:20:40.315 32551   655 V RemoteCanvas: Cleaning up resources
12-09 13:20:40.391 32551 32551 I MainConfiguration: onStop called
12-09 13:20:49.065 32551 32581 D OpenGLRenderer: endAllActiveAnimators on 0xd0a645635700 (RippleDrawable) with handle 0xcf8bdec4c510
12-09 13:20:49.106 32551 32551 I MainConfiguration: onStart called
12-09 13:20:49.106 32551 32551 I MainConfiguration: onResume called
12-09 13:20:49.106 32551 32551 I MainConfiguration: onResumeFragments called
12-09 13:20:49.106 32551 32551 I MainConfiguration: arriveOnPage called
12-09 13:20:49.206 32551 32551 W OnBackInvokedCallback: OnBackInvokedCallback is not enabled for the application.
12-09 13:20:49.206 32551 32551 W OnBackInvokedCallback: Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.
12-09 13:20:49.684 32551 32551 V RfbProto: RFB socket closed
12-09 13:20:49.684 32551 32551 V RemoteCanvas: Cleaning up resources