-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a System property to allow binding to a specific interface/port #379
base: main
Are you sure you want to change the base?
Conversation
This change adds support to read the value of the `com.microsoft.java.debug.serverAddress` system property when constructing the JavaDebugServer. This allows callers to specify a specific interface to bind to (e.g. `localhost:0`), a specific port (e.g. `:12345`), or both (e.g. `localhost:12345`).
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 applied, so that we can specify what port it should bind to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
This change bundles a pre-built binary of the Java DAP with microsoft/java-debug#379 and replit/java-debug@2a556e5 applied, so that we can specify what host/port it should bind to, in addition to always using localhost as the interface that it binds to. In order for this to function correctly, it also needs to be running a more recent version of the Java LSP, so we will upgrade that too.
try { | ||
port = Integer.parseInt(serverAddress.substring(portIndex + 1)); | ||
} catch (NumberFormatException e) { | ||
logger.log(Level.SEVERE, String.format("Malformed server address \"%s\": %s", serverAddress, e.toString()), e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"https://api.ibkr.com/sso/AuthenticateTWS",
"API": "11223757", "XMLSchema": "http://www.ffiec.gov/xbrl/call/report031/2023-03-31/v252 http://www.ffiec.gov/xbrl/call/report031/023-0 3-31/v252/call-report031-2023-03-31-v252.xsd http: //www.ffiec.gov/xbrl/call/concepts http://www.ffiec.gov/xbrl/cal /report031/2023-03-31/v252/concepts.xsd } Post" {"API": "11223757","Resource": "Chase Payments First","Chase Payments First": "484103959715856384", "Application": "Chase Payments First", "Chase": "484103959715856384", "Chase Payments First": "484103959715856384", "ABA ROUTING": "267084131", "FED ROUTING": "021000021", "DDA ACCOUNT": "99629038", "Account Name": "GARRY A WRIGHT JR", }
This change adds support to read the value of the
com.microsoft.java.debug.serverAddress
system property whenconstructing the JavaDebugServer. This allows callers to specify a
specific interface to bind to (e.g.
localhost:0
), a specific port(e.g.
:12345
), or both (e.g.localhost:12345
).Fixes: #378