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

有人知道这种1080端口的错误提示如何解决吗? #69

Open
Nevidebla opened this issue May 10, 2020 · 2 comments
Open

有人知道这种1080端口的错误提示如何解决吗? #69

Nevidebla opened this issue May 10, 2020 · 2 comments

Comments

@Nevidebla
Copy link

image
如图

@Nevidebla
Copy link
Author

image

@pengcheng789
Copy link

端口1080被占用了,在CMD里查询是哪个进程占用的,把它结束掉可以了。

步骤:

  1. 使用NETSTAT程序查询占用端口的进程的ID:

    > NETSTAT -ano | FINDSTR 1080
    

    输出结果类似于以下这种:

    TCP    127.0.0.1:1080         0.0.0.0:0              LISTENING       5636
    TCP    127.0.0.1:56449        127.0.0.1:1080         ESTABLISHED     21700
    

    其中,LISTENING状态后面的5636即是占用该端口的进程的ID。

  2. 使用TASKKILL程序结束掉占用端口的进程即可:

    > TASKKILL /PID 5636
    

    如果以上命令无法结束进程,可以加入/F参数强制该进程结束:

    > TASKKILL /F /PID 5636
    

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

2 participants