In Windows machines running McAfee Anti-Virus, port 8081 is generally used for the FrameWork.exe process. To verify whether McAfee on your machine is actually using port 8081, run the netstat -b command.
If your machine is running McAfee on port 8081, it will cause a port conflict when you start Artifactory and generate the following error in your Artifactory logs (in version 7.x) or, in versions 6.x and below, in the catalina.out log (located in the $ARTIFACTORY_HOME/tomcat/logs folder):
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) ...
To change McAfee’s listening port, execute the following modification:
'C:Documents and SettingsAll UsersApplication DataMcAfeeCommon Frameworkagent.ini' Modify the following section to a different port: AgentBroadcastPingPort=8082 AgentPingPort=8081