(base) localhost:~ ligaijiang$ lsof -i tcp:8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
QQBrowser 362 ligaijiang 92u IPv4 0xcbed1ecb4029ffcf 0t0 TCP bogon:49218->180.163.32.172:http-alt (ESTABLISHED)
QQBrowser 362 ligaijiang 107u IPv4 0xcbed1ecb4029ffcf 0t0 TCP bogon:49218->180.163.32.172:http-alt (ESTABLISHED)
(base) localhost:~ ligaijiang$ sudo kill 362
Password:
(base) localhost:~ ligaijiang$ lsof -i tcp:8080
(base) localhost:~ ligaijiang$
常用命令
重启Jenkins:brew services restart Jenkins
卸载Jenkins:brew services uninstall Jenkins