净:: ERR_CONNECTION_REFUSED(无法使用网页)IONIC V4 APP

时间:2019-07-09 13:34:45

标签: sapui5 sap cordova-plugins ionic4 ionic-native

我在我的离子应用程序中添加了kapsel插件,并在app中生成了版本并安装了apk。我收到此错误

//This is generate right url. http://localhost/address-info
@Url.RouteUrl("Address",new {action="Index"})

//i expect generate same url as up but it's generate http://localhost/address-info/anotherAction
@Url.RouteUrl("Address")
web page at http://localhost/smp/ui/iab.html could not be loaded because:
net::ERR_CONNECTION_REFUSED

请找到附件

ionic cordova plugin 
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
kapsel-plugin-authproxy 4.2.8 "AuthProxy"
kapsel-plugin-corelibs 4.2.8 "CoreLibs"
kapsel-plugin-i18n 4.2.8 "i18n"
kapsel-plugin-inappbrowser 4.2.8 "InAppBrowser"
kapsel-plugin-logon 4.2.8 "Logon"
kapsel-plugin-ui5 4.2.8 "ui5"

1 个答案:

答案 0 :(得分:0)

通常我希望在localhost网址旁边看到一个端口号,例如默认的8100

http://localhost:8100/

您是否在某个地方硬编码了错误的网址?