无法在Xampp中更改Apache端口号

rah*_*ver 4 apache xampp port

我刚刚为Windows 下载了Xampp服务器xampp-win32-1.8.2-0-VC9.zip文件并试图启动apache服务器.但服务器无法启动以下消息:

XAMPP now starts as a console application.

Instead of pressing Control-C in this console window, please use xampp_stop.exe
to stop XAMPP, because it lets XAMPP end any current transactions and cleanup
gracefully.

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : AH00072: make_sock: could not bind to address 0.0.0.0:
80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Run Code Online (Sandbox Code Playgroud)

很明显,端口号80已被占用.

所以我去了apache/conf/httpd.conf文件并找到了这一行:

#Listen 12.34.56.78:80
Listen 80
Run Code Online (Sandbox Code Playgroud)

并将上面的第二行改为

Listen 8010
Run Code Online (Sandbox Code Playgroud)

所以服务器现在必须从端口号8010开始.但它改为从https默认端口号443开始并再次给出相同的错误:

XAMPP now starts as a console application.

Instead of pressing Control-C in this console window, please use xampp_stop.exe
to stop XAMPP, because it lets XAMPP end any current transactions and cleanup
gracefully.

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : AH00072: make_sock: could not bind to address 0.0.0.0:
443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Run Code Online (Sandbox Code Playgroud)

那么我应该如何让服务器以我选择的端口号运行,为什么我的方法不起作用.据我所知,这个方法曾经用于早期版本的xampp,但现在还没有用.

ena*_*dun 6

这是帮助我改变港口的链接.

在此输入图像描述

在此输入图像描述

这个视频也是.