Hello everyone,
I have a proxy
I declare the following variables:
and execute the following instructions:
but i get this error:
I tried to replace the name of the proxy with its IP address but does not change anything:
do you have any suggestions?
Thank you.
I have a proxy
I declare the following variables:
B4X:
Dim ProxyHost As String
Dim ProxyPort As Int
Dim ProxyUsername As String
Dim ProxyPassword As String
and execute the following instructions:
B4X:
SetSystemProperty("http.proxyHost", ProxyHost )
SetSystemProperty("http.proxyPort", ProxyPort )
SetSystemProperty("http.proxyUser", ProxyUsername )
SetSystemProperty("http.proxyPassword", ProxyPassword )
but i get this error:
B4X:
Program started.
java.net.UnknownHostException: name_external_site
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getAllByName0(InetAddress.java:1246)
at java.net.InetAddress.getAllByName(InetAddress.java:1162)
at java.net.InetAddress.getAllByName(InetAddress.java:1098)
I tried to replace the name of the proxy with its IP address but does not change anything:
do you have any suggestions?
Thank you.