如何在Xampp中更改Apache的端口号 [英] How to change the port number of Apache in Xampp

查看:324
本文介绍了如何在Xampp中更改Apache的端口号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手,我对端口号及其更改方法一无所知.在Windows 8.1上安装Xampp时,它显示apache必须使用的端口错误.如何解决此端口问题以及应将其更改为哪个端口号 请帮帮我 这是运行xampp时出现的错误

I am a novice I do not know anything about port numbers and how to change them. While installing Xampp on my windows 8.1 it is showing Error in port that apache has to use. How can I resolve this port issue and which port number I should change it to Please help me out This is the error coming while running xampp

推荐答案

打开xamp,单击http.conf并搜索ServerName localhost

Open xamp, click on http.conf and search ServerName localhost

 ServerName localhost:8181 

我将端口8181设置为80,将其更改为81(因为在您的情况下,VMware使用80,Skype也使用它).

I have set 8181 as my port, it will be 80 change it to 81 (since 80 is being used VMware in your case and it is used by skype too).

保存后重置服务器.

这篇关于如何在Xampp中更改Apache的端口号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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