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
Even after stopping the Artifactory service, (if Artifactory was installed as a service) and rebooting the machine, the error still appears.
When running ‘netstat -b’ command in the console, it shows that the “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: