Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools OS Port #133

Open
junxnone opened this issue Sep 23, 2024 · 0 comments
Open

Tools OS Port #133

junxnone opened this issue Sep 23, 2024 · 0 comments

Comments

@junxnone
Copy link
Owner

端口占用

lsof

sudo lsof -i:5173
COMMAND      PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
docker-pr 778724 root    4u  IPv4 13546779      0t0  TCP *:5173 (LISTEN)
docker-pr 778731 root    4u  IPv6 13573422      0t0  TCP *:5173 (LISTEN)

netstat

netstat -tunlp|grep 5173
tcp        0      0 0.0.0.0:5173            0.0.0.0:*               LISTEN      -
tcp6       0      0 :::5173                 :::*                    LISTEN      -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant