Skip to content

Commit

Permalink
fix(server): correct port range
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Sep 29, 2023
1 parent 380ff6c commit 3651325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class GardenServer extends EventEmitter {
host: hostname,
port: defaultServerPort,
portRange: [defaultServerPort + 1, defaultServerPort + 50],
alternativePortRange: [defaultServerPort - 1, defaultServerPort - 50],
alternativePortRange: [defaultServerPort - 50, defaultServerPort - 1],
})
await _start()
serverStarted = true
Expand Down

0 comments on commit 3651325

Please sign in to comment.