window.ENTITIES={'/api/snippets/bash/cmd%20kill%20process%20on%20port%2080%20in%20windows':[{"result":true,"message":null,"batch":{"type":"bash","name":"cmd kill process on port 80 in windows","items":[{"id":"jmV7N1","type":"bash","name":"cmd kill process on port 80 in windows","content":"C:\\Users\\john>netstat -ano | findstr LISTENING | findstr :80\n TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880\n TCP [::]:80 [::]:0 LISTENING 6880\n\nC:\\Users\\john>taskkill /PID 6880\nERROR: The process with PID 6880 could not be terminated.\nReason: This process can only be terminated forcefully (with /F option).\n\nC:\\Users\\john>taskkill /F /PID 6880\nSUCCESS: The process with PID 6880 has been terminated.\n\nC:\\Users\\john>","source":"https://dirask.com/posts/Windows-how-to-kill-process-that-listen-on-specific-port-with-cmd-x1R2d1","author":{"id":"YoWewD","name":"Maryamcc","avatar":"1629142576003__YoWewD__w40px_h40px.jpg","points":511,"role":"BASIC"},"creationTime":1639122296000,"updateTime":1639122554000,"removalTime":null},{"id":"1eVMbD","type":"bash","name":"cmd kill process on port 80 in windows","content":"C:\\Users\\john>netstat -ano | findstr LISTENING | findstr :80\n TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880\n TCP [::]:80 [::]:0 LISTENING 6880\n\nC:\\Users\\john>taskkill /PID 6880\nSUCCESS: The process with PID 6880 has been terminated.\n\nC:\\Users\\john>","source":"https://dirask.com/posts/Windows-how-to-kill-process-that-listen-on-specific-port-with-cmd-x1R2d1","author":{"id":"ZaEQEa","name":"Mark-Rotteveel","avatar":"1629142676006__ZaEQEa__w40px_h40px.jpg","points":537,"role":"BASIC"},"creationTime":1639122317000,"updateTime":1639122557000,"removalTime":null},{"id":"pryePD","type":"bash","name":"cmd kill process on port 80 in windows","content":"C:\\Users\\john>netstat -ano | findstr LISTENING | findstr :80\n TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880\n TCP [::]:80 [::]:0 LISTENING 6880\n\nC:\\Users\\john>taskkill /F /PID 6880\nSUCCESS: The process with PID 6880 has been terminated.\n\nC:\\Users\\john>","source":"https://dirask.com/posts/Windows-how-to-kill-process-that-listen-on-specific-port-with-cmd-x1R2d1","author":{"id":"YoWewD","name":"Maryamcc","avatar":"1629142576003__YoWewD__w40px_h40px.jpg","points":511,"role":"BASIC"},"creationTime":1639122329000,"updateTime":1639122559000,"removalTime":null},{"id":"1w50Jp","type":"bash","name":"cmd kill process on port 80 in windows","content":"# 1. open cmd (windows key + r; type: cmd; press enter key)\n# 2. type:\n netstat -ano | findstr LISTENING | findstr :80 PIDs\n |\n # Example output: v\n # TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880\n # TCP [::]:80 [::]:0 LISTENING 6880\n \n# 3. type:\n taskkill /F /PID 6880","source":"https://dirask.com/posts/Windows-how-to-kill-process-that-listen-on-specific-port-with-cmd-x1R2d1","author":{"id":"ZaEQEa","name":"Mark-Rotteveel","avatar":"1629142676006__ZaEQEa__w40px_h40px.jpg","points":537,"role":"BASIC"},"creationTime":1639122391000,"updateTime":1677052485000,"removalTime":null}]}}]};