大网数据广告活动
网站运营与故障问答

Getting MAMP Pro Apache to Listen on Multiple TCP Ports

· 52CE 我爱测

I'm running MAMP Pro (Currently 3.5). I would like to be able to run Apache's standard (non-SSL) TCP on multiple ports (80 and 8080) for testing. It doesn't seem to let me do this. Adding a new TCP port to the httpd.conf doesn't …

问题原文

原帖链接 · Chris Marshall · CC BY-SA 3.0

I'm running MAMP Pro (Currently 3.5).

I would like to be able to run Apache's standard (non-SSL) TCP on multiple ports (80 and 8080) for testing.

It doesn't seem to let me do this. Adding a new TCP port to the httpd.conf doesn't do it, so I guess that MAMP Pro ignores that and replaces it with 80.

Any clues as to how I do this?

EDIT: I do have a support ticket open on this, but it can take them a while to get back, and I'm an impatient S.O.B., as I'm running on the assumption that I am [not] doing something right/wrong, and the answer is in front of my nose.

已采纳解答

原帖链接 · Chris Marshall · CC BY-SA 3.0

After conferring with Appsolute (the makers of MAMP), they informed me that I can't currently do this. They basically suggested the same thing I tried above (which didn't work); which was to edit the template file.

It's not a showstopper, and I did put in a feature request to them, so maybe this will show up in future releases.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-16)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。