Getting BAD_PORT_RANGE on node v17.0.1
Just-Moh-it opened this issue · 0 comments
Just-Moh-it commented
I'm running the command:
peerflix "magner_uri..." -a --vlc
and getting the error:
node:internal/validators:216
throw new ERR_SOCKET_BAD_PORT(name, port, allowZero);
^
RangeError [ERR_SOCKET_BAD_PORT]: Port should be > 0 and < 65536. Received 69692710.
at new NodeError (node:internal/errors:371:5)
at validatePort (node:internal/validators:216:11)
at Socket.send (node:dgram:629:12)
at send (/opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/lib/client/udp-tracker.js:186:12)
at UDPTracker._request (/opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/lib/client/udp-tracker.js:92:3)
at UDPTracker.announce (/opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/lib/client/udp-tracker.js:38:8)
at /opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/client.js:230:13
at Array.forEach (<anonymous>)
at Client._announce (/opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/client.js:228:18)
at Client.start (/opt/homebrew/lib/node_modules/peerflix/node_modules/bittorrent-tracker/client.js:166:8) {
code: 'ERR_SOCKET_BAD_PORT'
}
Node.js v17.0.1
Environment:
- Arm Based M1-MacBook Air
- Node v17.0.1
- Shell: Fish
Hope this helps, I'm unable to debug the problem