具体方法如下:
(视频教程推荐:java视频教程)
1、打开httpd.conf配置文件
\\apache\\conf\\httpd.conf
2、在配置文件中找到Listen 80
# Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80
将其修改为Listen 8080
3、重启服务器。
下载本文