Moreover, I have just wrote a very simple test Java class which just connects to
http://google.com and prints the output.
And it gets "Connection timed out" on Windows 7 with the latest Avast Internet Security turned on.
On Windows 10 - fine. On Windows 7 with Avast IS Firewall turned off - fine.
package test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URL;
public class NetTest {
public static void main(String[] args) throws MalformedURLException, IOException {
String url = args.length > 0 ? args[0] : "http://google.com";
try (InputStream is = new URL(url).openStream();
Reader r = new InputStreamReader(is, "UTF-8");
BufferedReader br = new BufferedReader(r)) {
String line = null;
while ((line = br.readLine()) != null)
System.out.println(line);
}
}
}
Compiled class and start.bat in zip archive:
https://drive.google.com/open?id=0B62bv55OX9z5MllZTVhsdTNzZms Latest Oracle JRE:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlI used Windows x86 Offline JRE 1.8.121.
I thought these things are left in 2013.
Can this be solved somehow?
Nothing in Avast Firewall logs. It says the app is "Allowed" but blocks it.
Can somebody please help me with it?
Best regards,
Mikhail