dongliuzhuan1219
dongliuzhuan1219
2016-06-07 11:10

如何让XAMPP Apache监听多个网络端口?

已采纳

I have xampp apache on my laptop. I have written an Android app and was able to run PHP script from the app using this

Now I'd like apache to control request from different PORTs ; for instance right now, my Apache's (http-conf file) listens to 192.168.1.40:8011 for my PHP scripts (located in htdocs xampp folder).

I'd like Apache to also listen to another port on behalf of another server (Geoserver) lets say for instance 192.168.1.40:8012.

That way, it will direct my PHP request to xampp htdocs PHP scripts and direct my Geoserver WMS request to 192.168.1.40:8012/geoserver/Projet_NAME/wms

Could you help me do that ?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

相关推荐