识别并停止侦听端口 8080 的进程,或将此应用程序配置为侦听另一个端口

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port

我克隆了 spring-clinic 并且打包成功

但是当我执行 jar..

识别并停止侦听端口 8080 的进程或配置此应用程序以侦听另一个端口...

所以我在 application.properties.

中添加命令 server.port=8090

但没有任何改变... 识别并停止侦听端口 8080 的进程或配置此应用程序以侦听另一个端口...

我能做什么??请帮助我..

我使用 window 和 IntelliJ

你可以像这样在编辑配置的环境变量中添加--server.port=9000