saLeox opened a new issue #1749: URL: https://github.com/apache/incubator-linkis/issues/1749
### Search before asking - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues. ### Linkis Component linkis-cg-manager ### What happened + What you expected to happen Right now, the port range for engine conn is from 0 to 65535 ``` private def findAvailPort(): Int = { val socket = new ServerSocket(0) Utils.tryFinally(socket.getLocalPort)(IOUtils.closeQuietly(socket)) } ``` It might be better if the port range can be specified by user by configuration. ### Relevent platform N/A ### Reproduction script N/A ### Anything else N/A ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@linkis.apache.org For additional commands, e-mail: dev-h...@linkis.apache.org