Think before you speak, read before you think.

mac 查看端口占用

by

in
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


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *