Skip to content

Commit

Permalink
feat: added random port for stucco communication
Browse files Browse the repository at this point in the history
  • Loading branch information
TakSeBiegam committed Sep 27, 2023
1 parent 3a3b797 commit f237861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export class Server {
}

public serve(): Promise<void> {
const { bindAddress = '0.0.0.0:1234', pluginMode = true } = this.serverOpts;
const { bindAddress = '0.0.0.0:0', pluginMode = true } = this.serverOpts;
const creds: grpc.ServerCredentials = this.credentials(pluginMode);
return new Promise((resolve, reject) => {
this.server.bindAsync(bindAddress, creds, (err, port) => {
Expand Down

0 comments on commit f237861

Please sign in to comment.