Xampp端口80已使用 [英] Xampp port 80 already use

查看:61
本文介绍了Xampp端口80已使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在计算机上安装了XAMPP,并将所有端口从"443"更改为"4433",将"80"更改为"8080",但是当我启动Apache时,它说我已经使用了端口"80",但是Apache必须使用"8080",当我转到"http://localhost/"时,它向我显示404错误,然后我不知道该怎么办.

I have installed XAMPP on my pc and I change all port from '443' to '4433' and '80' to '8080' but when I start Apache it say me that port '80' is already use but Apache must use '8080' and when I go to 'http://localhost/' it display me a 404 error then I don't know what to do.

在'cmd'上使用 netstat -ao ,我看到端口'80'正在被程序'PID = 4'使用,并且在任务管理器中看到此PID用于"NT内核系统"所以我无法杀死它.

With netstat -ao on 'cmd' I see that port '80' is using by a program whit 'PID=4' and I see in the task manager that this PID is for "NT Kernel & System" so I can not kill it.

推荐答案

请尝试使用端口号 http://localhost:8080 似乎您已从此处更改了端口C:\ xampp \ apache \ conf \ httpd.conf

Please try with the port number http://localhost:8080 it seems like you have changed the port from here C:\xampp\apache\conf\httpd.conf

听80到8080如果要使用端口80,则选择如果Skype已打开,请尝试从选择选项(80/443)更改端口.有时这是问题.IIS服务器如果运行它可能使用相同的端口您可以使用一些工具来终止进程,例如,currports,TCPview等.希望它可以解决您的问题.

Listen 80 to 8080 Alternative if want to use port 80 then If the skype is open try to change the port from the select options(80/443).Sometimes this is the problem.IIS server if running it might use the same port You can use some tools to kill the process for example, currports, TCPview etc.Hope it helps to solve your problem.

这篇关于Xampp端口80已使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆