Intellij and windows1o system throwing the 'Error running Deploy only YYYY: Address localhost:8081 is already in use'. Need your suggestions to resolve this error in Deploying only YYYY.
Faced the same issue some days back,reason is other web server is already running on that port,what you need to do is
1.open cmd and type netstat -ano
and check for the process running on port 8081 and note the PID
2.Now go to Task Manager,under services tab check for a running web service having same PID,delete that process.
3.Now restart the Tomcat server.