Problem opening port 3306 for Surefire .jar, with Maven


I’m developing a Java application with Maven which uses Surefire to run the tests.

Each time I clean, package and run the tests for my application, a “surefirebooterXXXXXXXX.jar” file is created by Maven (the “XXXX” change every time). This jar tries to “connect to the Internet” on, port 3306 : it tries to reach my local MySQL database. At that moment, a Comodo alert pops and asks me if I want to allow it.

The problem is that I can’t find a way to always allow that generated “surefirebooterXXXXXXXX.jar” to connect! I can’t specify an application path in “Application rules” since the name of the .jar changes each time it is generated by Maven. So I tried to set a “Global Rule”, but it doesn’t seem to work either:

  • Allow
  • TCP or UDP
  • In/Out
  • Source Address : Any Address
  • Destination Address : Any Address
  • Source Port: Any
  • Destination Port: 3306

The best would be to set both the Source and Destination addresses to “”, but even when they are set to “Any Address” it doesn’t work! Comodo still blocks the connection and pops an alert.

Any idea?

Thanks in advance!

If the connection requests are always to loopback ( you may be able to get around the problem by disabling alerts for loopback requests, which you can find on the Alert Settings page.

That worked well! Thanks Radaghast!