N
NB
I'm getting this error:
java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:80 connect,resolve)
with the following code:
URL url = new URL("http://127.0.0.1/application/script.asp");
InputStream inputStream = url.openConnection().getInputStream();
Why is that? I didn't get the error on my local machine where I
developed and tested the application but when deployed on the web server
I get error.
java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:80 connect,resolve)
with the following code:
URL url = new URL("http://127.0.0.1/application/script.asp");
InputStream inputStream = url.openConnection().getInputStream();
Why is that? I didn't get the error on my local machine where I
developed and tested the application but when deployed on the web server
I get error.