分类
mac

mac 查看端口占用

docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:8080: bind: address already in use.
ERRO[0000] error waiting for container: context canceled
lsof -n -i4TCP:8080 | grep LISTEN
main    30863 jpuyy   14u  IPv6 0xe7a300fd0dafc76f      0t0  TCP *:http-alt (LISTEN)
jpuyy       30863   0.0  0.0  5014020  10856 s010  S+    3:22PM   0:00.29 /var/folders/d7/s1_bmdw95gg8grv857tkvqmw0000gp/T/go-build454434651/b001/exe/main all

发表评论

电子邮件地址不会被公开。 必填项已用*标注