mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Fixes TCP server's host for Firefox WebDriver to IPv4 loopback address (#163288)
Closes #163281 ## Summary This PR forces TCP server to listen on `127.0.0.1`, which helps to avoid `EADDRNOTAVAIL` error on IPv6 during Firefox WebDriver's initialization. ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
parent
974979bdf7
commit
f9a5babb12
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export async function createStdoutSocket() {
|
|||
)
|
||||
).toPromise();
|
||||
|
||||
server.listen(0);
|
||||
server.listen(0, '127.0.0.1');
|
||||
cleanup$.subscribe(() => {
|
||||
server.close();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue