Comments (5)
@eriktrom It looks like that host is in the output.
Here's the output from looking for the process running on that port again and then os.networkInterfaces()
:
> sudo lsof -i:49152
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
eoshostd 207 root 3u IPv6 0x304b1db76033cb15 0t0 TCP [fe80:4::aede:48ff:fe00:1122]:49152->[fe80:4::aede:48ff:fe33:4455]:61000 (ESTABLISHED)
> node
> os.networkInterfaces()
{ lo0:
[ { address: '127.0.0.1',
netmask: '255.0.0.0',
family: 'IPv4',
mac: '00:00:00:00:00:00',
internal: true },
{ address: '::1',
netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
family: 'IPv6',
mac: '00:00:00:00:00:00',
scopeid: 0,
internal: true },
{ address: 'fe80::1',
netmask: 'ffff:ffff:ffff:ffff::',
family: 'IPv6',
mac: '00:00:00:00:00:00',
scopeid: 1,
internal: true } ],
en5:
[ { address: 'fe80::aede:48ff:fe00:1122',
netmask: 'ffff:ffff:ffff:ffff::',
family: 'IPv6',
mac: 'ac:de:48:00:11:22',
scopeid: 4,
internal: false } ],
en0:
[ { address: 'fe80::18af:7192:2b42:5d75',
netmask: 'ffff:ffff:ffff:ffff::',
family: 'IPv6',
mac: 'f4:0f:24:21:3b:91',
scopeid: 5,
internal: false },
{ address: '192.168.1.87',
netmask: '255.255.255.0',
family: 'IPv4',
mac: 'f4:0f:24:21:3b:91',
internal: false } ],
awdl0:
[ { address: 'fe80::349f:47ff:fe71:7558',
netmask: 'ffff:ffff:ffff:ffff::',
family: 'IPv6',
mac: '36:9f:47:71:75:58',
scopeid: 12,
internal: false } ],
utun0:
[ { address: 'fe80::1233:577d:af46:2f68',
netmask: 'ffff:ffff:ffff:ffff::',
family: 'IPv6',
mac: '00:00:00:00:00:00',
scopeid: 13,
internal: false } ] }
from node-portfinder.
see ember-cli/ember-cli#6513 (comment) for my initial response
from node-portfinder.
# Seems to work when the host from above is specified
> portfinder.getPort({ host: 'fe80:4::aede:48ff:fe00:1122' }, console.log)
undefined
> null 49153
@HeroicEric - can u open a node console and run os.networkInterfaces()
and see if that host prints out? Very much appreciated.
from node-portfinder.
@HeroicEric - interesting - thanks for the output - helps a lot
from node-portfinder.
pass a stop port that is 20,000 ports lower than 65,000 via the new stop port option, see #63 for the api
(if someone wants to write docs for that, by all means)
from node-portfinder.
Related Issues (20)
- 【feature request】support to use array as basePort HOT 3
- Should portfinder also have a getPortsPromise function? HOT 2
- Free port still in use HOT 3
- All ports lower than 1024 are closed HOT 2
- Version mismatch on `mkdirp` between `package.json` and `package-lock.json` HOT 1
- Update ci to test new versions of npm HOT 3
- If callback is passed to getPort() then all errors should be returned as first parameter of callback HOT 1
- migrate to mkdirp v1 HOT 9
- Webpack doesn't like portfinder HOT 14
- Cluster apps are all on same port instead of different ports HOT 2
- no highestPort ts definition in latest version HOT 2
- Update Readme to Specify NOT to use outside development port finding HOT 1
- Consider Dropping Legacy Support for Node JS 0.10.x HOT 6
- Please update mkdirp from 0.5.5 to 0.5.6 HOT 2
- Update "async" dependency HOT 9
- why mkdirp dependecy? HOT 9
- version 1.0.29 doesn't compile with typescript HOT 4
- `testPort` gets called with `65536`
- Create code of conduct HOT 1
- Before filing a socket not closed issue: understanding async I/O + ordering + OS differences + stability requirements HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-portfinder.