使用Pycharm进行flask开发出现端口占用问题

一、原因分析

  由于电脑自动关机,再次打开电脑运行出现了端口无法访问现象。

二、解决方法

  1、在管理员的权限下运行  netstat -ano | findstr 8844 查询8844端口的运行情况。

  

  2、运行 taskkill /pid 3012 /f 杀死正在运行的进程。

  

  3、杀死进程后,再次运行程序即可。

猜你喜欢

转载自www.cnblogs.com/whm1012/p/10898201.html