When I browse "localhost:8080" it ask me to authenticate, but I do not know which program on Windows is using that port.
How can I determine which program is using that port?
You could use the following two methods, depending on your OS :)
Open the command prompt - start » run » cmd or start » All Programs » Accessories » Command Prompt.
Type netstat -aon | findstr '[8080]'
If the port is being used by any application, then that application’s detail will be shown. The number, which is shown at the last column of the list, is the PID (process ID) of that application. Make note of this.
Type tasklist | findstr '[PID]'
. Replace the [PID] with the number
from the above step and hit enter.
You will then be shown the application name that is using your port number
open the terminal and enter sudo apt install net-tools
open the terminal and enter netstat -ltnp | grep -w ':8080'
You should then see the application using said port on the far right
of the terminal [PID]/SomeApplicationName