简体   繁体   中英

Jenkins on Docker - Error starting userland proxy: Bind for 0.0.0.0:50000: unexpected error Permission denied

I am trying to run Jenkins on Docker. Docker version - 18.09.2

I followed all the guidelines on hub.docker.com Still it is failing. The command I executed is:

docker run --name JenkinsServer -p 8080:8080 -p 50000:50000 -v C:\Jenkins_Home:/var/jenkins_home jenkins

The error message is:

docker: Error response from daemon: driver failed programming external connectivity on endpoint JenkinsServer (46bab1a1f5fcbe37d5a8394a4f97bd4b0b9b8c8be18c03b58696fda5daa774ef): Error starting userland proxy: Bind for 0.0.0.0:50000: unexpected error Permission denied.

I checked whether the port is already in use or not through Resource monitor, but none of the services are running on 50000.

Am I missing anything?

Run Get-NetTCPConnection -LocalPort 50000 | Format-List Get-NetTCPConnection -LocalPort 50000 | Format-List in powershell to check which process using the port and kill the process using taskkill /F /PID pid .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM