当我通过 Spring 启动我的应用程序时遇到问题,端口 8080 已经被服务监听,它是“rundll32.exe”,显然是来自 system32 的合法文件,但即使我杀死它,它也会回来,这里是我的提示命令:
tasklist | findstr 15448
rundll32.exe 15448 Services 0 56,592 K
netstat -ano | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 15448
taskkill /F /pid 15448
SUCCESS: The process with PID 15448 has been terminated.
netstat -ano | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 9796
tasklist | findstr 9796
rundll32.exe 9796 Services 0 55,976 K
如您所见,该服务始终在监听端口 8080。我试图搜索解决方案,但在互联网上没有找到类似的问题。你有什么建议吗?(我杀死了Services列表中的rundll32进程,但没有任何变化)