Connecting to internet
When I try to connect to the internet via java i'm getting a
Error in accessing URL: java.net.SocketException: Network is unreachable: connect
I'm trying to read the HTMLCode. The class works perfectly at home but at my university I am facing difficulties.
This is what I'm using:
URL urlAddress =new URL(urlString);
URLConnection connection = urlAddress.openConnection();
inStream =new BufferedReader(new InputStreamReader(connection.getInputStream()));
Can this be fixed? What would I need to use?
Thank you.

