I am using Grails 4.0.13 with springboot Greenwich.SR6 I am using developmentOnly("org.springframework.boot:spring-boot-devtools") to get the application reloaded during development. Everything works fine until I add compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client'

If I use the eureka client I always get an error "Address already in use" when changing code and the server is doing the fast restart.

It looks like the eureka client is preventing the server from shutting down.

If I am not using the dependency I will see the following log lines after a code file is recompiled 2021-12-22 21:31:37.144 INFO --- [ Thread-6] o.a.coyote.http11.Http11NioProtocol : Pausing ProtocolHandler ["http-nio-8080"] 2021-12-22 21:31:37.155 INFO --- [ Thread-6] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2021-12-22 21:31:37.157 INFO --- [ Thread-6] o.a.c.c.C.[Tomcat].[localhost].[/] : Destroying Spring FrameworkServlet 'grailsDispatcherServlet' 2021-12-22 21:31:37.164 INFO --- [ Thread-6] o.a.coyote.http11.Http11NioProtocol : Stopping ProtocolHandler ["http-nio-8080"] 2021-12-22 21:31:37.205 INFO --- [ Thread-6] o.a.coyote.http11.Http11NioProtocol : Destroying ProtocolHandler ["http-nio-8080"]

this lines are missing if I add the eureka client dependency.

Comment From: OlgaMaciaszek

Hello @gsigmund, the Greenwich release train has not been supported for years now. Please upgrade to a supported version of Spring Cloud (2020.0.5 or 2021.0.0) and get back to us if the issue still persists.

Comment From: spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.