我的 Apache 端口设置为:
80 和 443
几个小时后查看 XAMPP 控制面板,我注意到端口已更改为:
05 和 59895
- XAMPP 会在几个小时后由于某种原因自动切换到这些端口吗?
- 使用/打开这些端口是否存在危险?
最佳答案
同样的问题已在 this post 中得到解答由 XAMPP 开发人员之一开发。假设这是真实的(引用):
In short, that is normal. Apache listens for and accepts requests on ports 80 and 443 but it does not service requests on those ports. When you or others connect to your servers, they will be handled by other connections usually using high ports. The control panel just looks for all ports associated with a module. It is just picking up those client ports and the box to show all the ports is just not big enough to show them all.
关于apache - XAMPP 端口自行更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13130952/