sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

Change PORT to a higher port, or retry with incrementing PORT #30

Closed chamatt closed 1 year ago

chamatt commented 1 year ago

The app the currently using PORT 9000 which is very commonly used by other applications. Would it be possible to increase it to a much higher port that is less commonly used? In addition to that it would be great if the app could retry on a increased port if the current one fails, which would solve the problem completely (e.g. port 9000 fails, try 9001, 9002...)

### Tasks
- [ ] Change port from 9000
- [ ] Add incrementing (+1) port retry

Also, thank you for this great application!

chwarwick commented 1 year ago

@chamatt Thanks for filling this issue, we are currently working on this issue and will let you know once we have a version that resolves this behavior.

slimsag commented 1 year ago

We just released a new version which fixes the port conflict on :9000 (changed to :49000) - and are working on resolving other potential port conflicts.

Please let me know if this helps resolve the issue for you @chamatt :)