Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netstat is not finding a running localhost on MacOS Sonoma #43

Open
ovanderzee opened this issue Jan 27, 2024 · 0 comments
Open

Netstat is not finding a running localhost on MacOS Sonoma #43

ovanderzee opened this issue Jan 27, 2024 · 0 comments

Comments

@ovanderzee
Copy link

ovanderzee commented Jan 27, 2024

On MacOS Sonoma, a line like
'tcp46 0 0 *.8809 *.* LISTEN ' is not found.
One reason is the command args being ['-v', '-n'], which should be ['-a', '-n'] to find it in the netstat output.
Another reason could be the absence of a pid in this line. When I fit the line in the parser test, there are errors in the code that establishes the pid.
Also the test shows that parsing *.8809 results in port: null, address: null, which is not very informative.

NodeJS v20.11.0
MacOS Sonoma 14.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant