How to get maven work with Comodo

Hello all,

I am a new user of Comodo firewall with V7.0.317799.4142. I need to use maven to do some development work. However, the maven/java process seems cannot connect to internet.

may I ask for the settings the resolve the problem?

How did you set up Comodo CIS / resp. FW? Did you check the Firewall Log for blocked entries? Did you check the Firewall’s Application Rules? At least it seems you blocked (some components of ) marven/Java and checking the logs is the easiest way to check if that assumption applies.

Hi Dinovom,

I have set the the application rules to [allowed application] or I applied a custom rule as [from any to any] for the following path
C:\Tools\apache-maven-3.2.1\boot\plexus-classworlds-2.5.1.jar
C:\Program Files\Java\jdk1.7.0_51\bin\javaws.exe
C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
C:\Program Files\Java\jdk1.7.0_51\bin\java.exe

and in HIPS rule and behavior blocker exclusions, I have set them too as:
C:\Program Files\Java\jdk1.7.0_51\bin\javaws.exe
C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
C:\Program Files\Java\jdk1.7.0_51\bin\java.exe
C:\Tools\apache-maven-3.2.1\boot*
C:\Tools\apache-maven-3.2.1\bin*
C:\Tools\apache-maven-3.2.1\lib*

And finally, I allow loopback traffic

But still maven does not work and throw me the erorr of:
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (http://repo.maven.
apache.org/maven2): Connection reset → [Help 1]

So, do oyu have any hint that how can I get this work??

And did you check the firewall logs? That’s the easiest way to check which files may still be blocked by the firewall (don’t forget to set a proper time period). If you don’t find anything (and it is the firewall) there might be an already set application rule for some component that is not fully allowed and neither logs any blocked connection. If so / to generally find out if it really is the firewall you could temporary turn the firewall off (easiest done by tray icon). Because it might not be an firewall but marven settings issue. You might find some solutions here.

Hi Dinovom,

I don’t have any proxy setup in my browser and no log(s) for firewall blocked connection
So, I really have no idea how to make it works

Sry, i didn’t have your msg in new replies and so i did miss your answer. What you didn’t wrote if you did check if maven can connect if the firewall is temporary off? Did you check that so if it really is an firewall issue?

  • If so, meaning after turning the firewall off and maven can connect we need to take a look into firewall and global rules (resp. Defense+/AV if some part isn’t allowed to start)
  • If not, meaning after turning the firewall of maven still can’t connect it may be problim with maven configuration (check solution link i provided last post) or some weird problem with windows.