-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
Description
Version: 1.5.6.RELEASE
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
application.yml
server:
address: 10.0.2.15
port: 8443
ssl:
enabled: true
key-store: classpath:keys/server.jks
key-store-password: *********
Even though I'm explicitly setting the binding address, when I run the application, I see the following in the console:
13:54:46.048 [main] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@77049094{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
13:54:46.060 [main] INFO o.s.b.c.e.j.JettyEmbeddedServletContainer - Jetty started on port(s) 8443 (ssl, http/1.1)
Which means the server is listening on every available address on the host, unless there's a good reason to ignore the value of server.address when setting up SSL for Jetty, I would think this is a bug. I believe the issue is around here https://github.com/spring-projects/spring-boot/blob/v1.5.6.RELEASE/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java#L180.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another