如何让XAMPPApache监听多个网口?

How to allow XAMPP Apache listening to multiple network ports?

我的笔记本电脑上安装了 xampp apache。我已经编写了一个 Android 应用程序,并且能够使用 this

从应用程序 运行 PHP 编写脚本

现在我想让apache控制来自不同端口的请求;例如现在,我的 Apache(http-conf 文件)为我的 PHP 脚本(位于 htdocs xampp 文件夹中)监听 192.168.1.40:8011。

我希望 Apache 也代表另一台服务器 (Geoserver) 监听另一个端口,例如 192.168.1.40:8012。

这样,它将把我的 PHP 请求定向到 xampp htdocs PHP 脚本,并将我的 Geoserver WMS 请求定向到 192.168.1.40:8012/geoserver/Projet_NAME/wms

你能帮我做吗?

参考这个link

Link 1 How to change XAMPP apache server port?

Link 2 http://www.complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp

希望您能从中得到一些解决方案

如果您发现它有帮助,请中止它,如果没有请告诉我

喜欢这个你想要

https://serverfault.com/questions/28041/how-do-i-make-apache-web-server-listen-on-two-different-ports

如果你发现任何有用的东西,请中止它