Change default port from 80 to 81 Apache2 Monterey

So, I'm living in Italy and use Fastweb as service provider. With this Fastgate router I cannot forward the 80 port. Was already in use for router admin...


I don't want to buy a new router so I try to change the default port for the embedded web server.


I currently use calibre on 8080 port and work fine. I think has an embedded server so is only "a listening port" don'y actually use Apache2.


How I can change (o recreate) the actual port on my web server from 80 to another? I find only instructions for Mountain Lion...


thank for your help!


Luca






Mac mini, macOS 12.3

Posted on Apr 9, 2022 12:45 AM

Reply
7 replies

Apr 10, 2022 1:41 AM in response to Ejecutor

Brew offers Apache2. 🙂


The fact that Homebrew and Apple versions are separated is good because the don't mess with each other.


Besides, the Apache is updated more frequently by Homebrew than Apple. Moreover, you can add other components (PHP, SQL databases, etc). PHP, for example, isn't provided anymore directly by Apple.


Have you tried to configure your Apache to listen to another port and forward that port on your router?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Change default port from 80 to 81 Apache2 Monterey

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.