英文:
How to solve ERR_CONNECTION_REFUSED error
问题
我的代码和错误在图片链接“错误和代码”中。
大家好,希望你们都过得很好,
我在使用 WebView 时遇到了一个问题,我尝试了很多方法,但仍然出现了“err_connection_refused”错误,我无法解决它。有谁能看出我的问题是什么吗?
我试图使用这种方式在我的手机上显示那个网址上的世界地图,但如果有任何建议,我都愿意接受。
(Android Studio 4.0 + Java + API 28 + 根据公司政策屏蔽了 URL 地址)
谢谢
重要提示:
只能通过 VPN 访问该网站(我可以通过计算机上的 Web 浏览器访问它),但我已经在模拟器中安装了 Cisco AnyConnect VPN,并建立了安全连接。
英文:
My codes and error are in that link of picture "Error & Codes"
Hi everyone, you all doing well,
Im having a problem about WebView, i have tried many ways but I'm still getting this err_connection_refuse error and i cant solve it. Can anyone see what my problem is ?
I'm trying to use this way to show the world map in that web address on my phone but if there are any suggestion, I'm open to it.
(Android Studio 4.0 + Java + API 28 + Blacked URL address due to company policy )
Thank you
IMPORTANT NOTE :
That site can only be reached with VPN (i can reach it from web browser on computer) but i have installed cisco anyconnect VPN to emulator and secured connection too.
专注分享java语言的经验与见解,让所有开发者获益!
评论