What process is running on Windows that would prevent Artifactory from starting up on port 8081?

JFrog Support
2019-08-07 19:02


In windows, port 8081 is used by the Mcafee Anti-Virus "FrameWork.exe" process according to "netstat -b", we will face the port conflict when we spin up Artifactory.

Affected Versions

All windows machines which use Mcafee as anti-virus.


When trying to run Artifactory the following error in the 'catalina.out' log (under '$ARTIFACTORY_HOME/tomcat/conf' folder) appears:

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8081"]
java.net.BindException: Address already in use: JVM_Bind <null>:8081
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:411)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:646)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:434)

Even after stopping the Artifactory service (is Artifactory was installed as service) and rebooting the machine, the error still appears.

When running 'netstat -b' command in the console it shows that "FrameWork.exe" process is listening to port 8081 which indicates that the Mcafee Anti-Virus is using this port.


In order to change the listening port of the Mcafee Anti-Virus the following file should be modified:
'C:Documents and SettingsAll UsersApplication DataMcAfeeCommon Frameworkagent.ini'
Modify the following section to a different port: