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

logviewer: check if port is available #218

Open
erikdw opened this issue Sep 18, 2017 · 1 comment
Open

logviewer: check if port is available #218

erikdw opened this issue Sep 18, 2017 · 1 comment

Comments

@erikdw
Copy link
Collaborator

erikdw commented Sep 18, 2017

In our new (as of PR #212) functionality to auto-launch logviewers, we should try to ensure the port is actually available. Otherwise the storm logviewer will appear to come up even though the port wasn't bindable.

@erikdw
Copy link
Collaborator Author

erikdw commented Sep 18, 2017

One idea: maybe a wrapper / initial cmd to be executed which needs to succeed before we launch the logviewer. Where that cmd could be something like:

% sudo netstat -anpl | grep -e ':8080\s\s*.*LISTEN'
tcp        0      0 :::8080                     :::*                        LISTEN   

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

No branches or pull requests

1 participant