You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In check_process_ports there is a line to find the port a process is listening on.
PORT=$(pgrep -f $1|xargs -I'{}' $LSOF_PATH -nPp {}|grep LISTEN|awk -F ":" '{print $2}'|cut -d " " -f 1|sort -u|paste -s)
When using IPv6 this line match the second block of the IP instead of the port. In the picture below it return "120b" instead of "9000".
The text was updated successfully, but these errors were encountered:
In check_process_ports there is a line to find the port a process is listening on.
PORT=$(pgrep -f $1|xargs -I'{}' $LSOF_PATH -nPp {}|grep LISTEN|awk -F ":" '{print $2}'|cut -d " " -f 1|sort -u|paste -s)
When using IPv6 this line match the second block of the IP instead of the port. In the picture below it return "120b" instead of "9000".
The text was updated successfully, but these errors were encountered: