如何在 localhost Windows 上释放我的端口 80? [英] How do I free my port 80 on localhost Windows?
问题描述
我安装了 XAMPP 1.6.8,但由于某种原因它不起作用.后来意识到80端口不是空闲的或者没有监听.我怎样才能释放它或让它免费?
I installed XAMPP 1.6.8 and for some reason it didn't work. Later realized port 80 is not free or not listening. How can I release it or make it free?
非常感谢!
推荐答案
这个痛苦已经为我解决了.我发现接管 80 端口的是 http api 服务.我在cmd中写了:
That agony has been solved for me. I found out that what was taking over port 80 is http api service. I wrote in cmd:
net stop http
问我以下服务将停止,您要继续吗?"按 y
Asked me "The following services will be stopped, do you want to continue?" Pressed y
它实际上停止了一些服务.
It stopped a number of services actually.
然后写 localhost
和 wallah,Apache 在 80 端口上启动并运行.
希望这会有所帮助
Then wrote localhost
and wallah, Apache is up and running on port 80.
Hope this helps
重要提示:Skype 默认使用 80 端口,您可以在 Skype 选项 > 高级 > 连接中更改 - 并取消选中使用端口 80"
Important: Skype uses port 80 by default, you can change this in skype options > advanced > connection - and uncheck "use port 80"
这篇关于如何在 localhost Windows 上释放我的端口 80?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!