Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
655 views
in Technique[技术] by (71.8m points)

apache - Xampp port 80 already use

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.

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

Listen 12.34.56.78:80 to 8080

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...