diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/nio/SelectChannelConnector.java b/jetty-server/src/main/java/org/eclipse/jetty/server/nio/SelectChannelConnector.java index b6c73f478a5..2fb14ffe9e2 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/nio/SelectChannelConnector.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/nio/SelectChannelConnector.java @@ -92,7 +92,7 @@ public class SelectChannelConnector extends AbstractNIOConnector public void accept(int acceptorID) throws IOException { ServerSocketChannel server = _acceptChannel; - if (server!=null && server.isOpen()) + if (server!=null && server.isOpen() && _manager.isStarted()) { SocketChannel channel = _acceptChannel.accept(); channel.configureBlocking(false);