-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: lookup hosts before passing to NewOnAddresses (#5245)
* fix: lookup hosts before passing to NewOnAddresses * fix: propagate lookupErr * fix: handle `--host '[::1]'` IPv6 literals * fix: distinguish between address in use and other errors ``` $ tilt up --port 10350 Tilt started on http://localhost:10350/ v0.23.1-dev, built 2021-12-02 Error: Tilt cannot start because you already have another process on port 10350 If you want to run multiple Tilt instances simultaneously, use the --port flag or TILT_PORT env variable to set a custom port Original error: listen tcp 127.0.0.1:10350: bind: address already in use $ tilt up --host '[::1' --port 10351 Tilt started (without browser UI) v0.23.1-dev, built 2021-12-02 Error: listen tcp: address [::1:10351: missing ']' in address ``` * fix: filter out addresses that can't be listened * errors: clean up error handling
- Loading branch information
1 parent
763c450
commit 03a51a8
Showing
2 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters