Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use the loopback interface when local
If the backend is local to the frontend then we will always use the loopback interface instead of connecting on the external IP. This adds some resilience to setups where the network connection may drop, e.g. using wifi - especially Ubuntu which removes the IP from the interface if it detects that the network is unreachable.
- Loading branch information
Showing
2 changed files
with
42 additions
and
2 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