Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Port usage by Jetty due to Selector.open()
  • From: Stefan Feenstra <stefan.feenstra@xxxxxxx>
  • Date: Mon, 15 May 2023 22:54:56 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=esq.com; dmarc=pass action=none header.from=esq.com; dkim=pass header.d=esq.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JUDGI89BmAl2Z+MEt/WCCU6iMrXx+8TrMsGhLq4VoGg=; b=TIUZsB19X7yHHxom+C6JL4bnH3FPqaMCjMkwynUSAbAALFnoOWlPWvipNxYTsF8mpKoJEUJC1AJnDIVmgo3Q17gfQvz4VO2A4Boscvhrm681JpC8yBplHYCkpNsEX9je5vcPL0zbE7jGsJAO4HJWPciar8LEiXwwcDEUTITJRXWrPnzGXEZRXp0fzstj27tXCYp0VwBt9Ix0VJP8kGcOj4dCZuUaqLgxPseUlOoA4V/HhJE94/1Harh2vBJFOhuBJrmLGSvTpI5RGcE4y0H76qLkh6+1fPQbfwJbayjLcpJoTDVJ8/NPpAYlc5cShbW6gxZk01x5TcbQnkeTLs2LRQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ocHrmoFs3VPplwiZYuIP8fxsjrPKF9z52cDcAP1PZWcsJ64s1V9hp4FqFbFJHPvMyy+K1kyxQQ9qVkijLrENvBkj/4AKN2T2GBVZHmLLFj8evdYip360reY9vTAp2wFjHB4Lih/hmMHyazk3NQNLpGOLwKk8R2sFD2KiVMvuMUlMnz4ioZsqIO5z9qihgvKN5DiwcdH8oOYKhkpi0kvfcGqfuTuRGFTuxiE1eLw3Offe7B5hdXjISPfiNxRCDUJUImdWJrBBhWZTi9TyntLOkiC15QqMU4rX+y4v/UFfBN3iIlStG0UtiEJicRnNO2UjGsJlLSXc+Wrrn5A3/ghhKA==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users/>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdmHgFHRw5ofUW51RjKihv74B976Lw==
  • Thread-topic: Port usage by Jetty due to Selector.open()

Hi,

 

It appears that when I run a Jetty webserver with a servlet that uses JettyHttpClient and Websockets that various ports are being opened.
I have traced this back to the usage of Selectors, Selector.open() seems to use the JDK WindowsSelectorImpl class which then opens a Pipe which in turn uses the port numbers.

 

Unfortunately, this is resulting in problems with some strict firewalls that don’t want any ports to be opened except whitelisted port numbers. Is there any way to get Jetty to not open these ports to communicate internally?

 

JDK version being used: JDK 11

Jetty version: jetty-9.4.44.v20210927

 

Regards,

Stefan


Back to the top