Skip to content

Commit

Permalink
Update occupied port detection command
Browse files Browse the repository at this point in the history
Change deprecated busy port detection command with the utility
to dump socket statistics.
  • Loading branch information
juazugas authored and gsmet committed Apr 26, 2024
1 parent d7708ef commit b0eacd4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ public static void run(Application application, Class<? extends QuarkusApplicati
} else {
for (Integer port : ports) {
applicationLogger
.warnf("Use 'netstat -anop | grep %d' to identify the process occupying the port.", port);
.warnf("Use 'ss -anop | grep %d' or 'netstat -anop | grep %d' to identify the process occupying the port.",
port);
}
applicationLogger.warn("You can try to kill it with 'kill -9 <pid>'.");
}
Expand Down

0 comments on commit b0eacd4

Please sign in to comment.