The default Sitecore container configuration uses specific ports. To avoid any conflicts, ensure that the following ports are not being used by another process: 443, 8079, 8081, 8984, and 14330.

In your case, it seems SOLR is already running, check http://localhost:8984/solr/#/. If it is then either you can skip installation of SOLR or stop the service to install a new one.

Check if you have Apache Solr or any other service running on port 8984:

Get-Process -Id (Get-NetTCPConnection -LocalPort 8984).OwningProcess

If you do, you must stop it:

Stop-Service -Name "<the name of your service>"