Change default interface of web and streaming from 0.0.0.0 to 127.0.0.1 (#11302)
This commit is contained in:
parent
2f813b7ea1
commit
e7353c47db
3 changed files with 4 additions and 4 deletions
|
@ -672,7 +672,7 @@ const attachServerWithConfig = (server, onSuccess) => {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
server.listen(+process.env.PORT || 4000, process.env.BIND || '0.0.0.0', () => {
|
||||
server.listen(+process.env.PORT || 4000, process.env.BIND || '127.0.0.1', () => {
|
||||
if (onSuccess) {
|
||||
onSuccess(`${server.address().address}:${server.address().port}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue