| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f7b0054 commit fe9d9f7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -526,7 +526,7 @@ function _mustCallInner(fn, criteria = 1, field) { | |||
| 526 | 526 | exports.hasMultiLocalhost = function hasMultiLocalhost() { | |
| 527 | 527 | const { TCP, constants: TCPConstants } = process.binding('tcp_wrap'); | |
| 528 | 528 | const t = new TCP(TCPConstants.SOCKET); | |
| 529 | - const ret = t.bind('127.0.0.2', exports.PORT); | ||
| 529 | + const ret = t.bind('127.0.0.2', 0); | ||
| 530 | 530 | t.close(); | |
| 531 | 531 | return ret === 0; | |
| 532 | 532 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments