ERR_CONNECTION_REFUSED with livereload

Hi,

when i run: ionic cordova run android --device -l, I suddenly get this this error: net::ERR_CONNECTION_REFUSED. Without adding the reload param, it works.
When I create a new app, livereload works.

In my current app, it suddenly stopped working.

Adding the address: ionic cordova run android --device -l --address 192.168.1.78, it also doesn’t work.

This is my ionic info:

Ionic:

   ionic (Ionic CLI)  : 4.1.0
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0, browser 5.0.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic 4.2.0, cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.0.3, (and 20 other plugins)

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v8.11.4 (C:\Program Files\nodejs\node.exe)
   npm               : 6.1.0
   OS                : Windows 10

Environment:

   ANDROID_HOME : C:\Users\lars\AppData\Local\Android\Sdk

And these are my cordova plugins:

cordova-plugin-add-swift-support 1.7.2 "AddSwiftSupport"
cordova-plugin-advanced-http 1.11.1 "Advanced HTTP plugin"
cordova-plugin-android-permissions 1.0.0 "Permissions"
cordova-plugin-backlight 0.0.1 "Backlight"
cordova-plugin-battery-status 2.0.2 "Battery"
cordova-plugin-brightness 0.1.5 "Brightness"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-contacts 3.0.1 "Contacts"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-flashlight 3.2.0 "Flashlight"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)"
cordova-plugin-ionic 4.2.0 "IonicCordova"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.0.3 "cordova-plugin-ionic-webview"
cordova-plugin-photo-library 2.1.1 "Photo Library"
cordova-plugin-simple-image-resizer 0.1.1 "Image Resizer"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sms-plugin 0.1.13 "Cordova SMS Plugin"
cordova-sqlite-storage 2.4.0 "Cordova sqlite storage plugin"

I disabled the firewall, already. And as I said: With a “fresh” app, it works. So it must be related to to the app.

Many Thanks in advance,
Lars

No one here, that can help me with that?`
The problem is still there. Everything is up to date. After a few codechanges, I still get the error: ‘ERR_CONNECTION_REFUSED’ . It happens in the emulator and on a real device with remote debugging. I tried all the suggested solutions, that I found in the web and in this forum,l like re-sinatlling the webview, remove and add platforms, etc…

Please ionic team, habe a look at this. Such errors consume a lot of time and it’s very annoying, that it still happens after x updates…

Did you ever get this working?

Disable live deploy and it works.