Skip to content

Conversation

@johndotpub
Copy link
Member

The netstat command that was used previously was not specifically
looking at LISTENING ports and was hitting false positives when there
was an open connection to a remote mysql instance as well as when you
had a port of like 409200 open it would fail the check for publishing
port 9200 (used by elasticsearch).

This lsof check will only show ports that are open and listening and
is explicit to the port being checked.

The netstat command that was used previously was not specifically
looking at LISTENING ports and was hitting false positives when there
was an open connection to a remote mysql instance as well as when you
had a port of like 409200 open it would fail the check for publishing
port 9200 (used by elasticsearch).

This lsof check will only show ports that are open and listening and
is explicit to the port being checked.
Copy link
Contributor

@0xOI 0xOI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m

@johndotpub johndotpub merged commit de754f3 into master Aug 24, 2017
@0xOI 0xOI deleted the port_taken_fix branch June 1, 2018 21:37
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

Successfully merging this pull request may close these issues.

3 participants