12/13/2023 0 Comments Apache needs port 80 mampThis means the ports under 1024 range are privileged. I'd like to also propose a workaround for each.įirstly, Mac (Darwin) is based off of Linux. There could be multiple reasons I can think of. When it's on it runs under port 3000-something. I occasionally start a node server just to check a guy's work but not running at the moment. I have moved my web root (htdocs I believe MAMP called it by default) into my user folder (user/Home/Documents/it's not like Apache gets access to my folder based on what port it's running off of. But I don't want to have to specify a port in my route in dev env since the app I'm working on has some hard-coded Uri:s.Īlso, this is a weird behaviour that annoys me =) My other MAC isn't doing this so I'd like to get to the bottom of it. If I configure MAMP to use a different port it all works fine. Server unable to read htaccess file, denying access to be safe You don't have permission to access this resource. You don't have permission to access this resource.īut if I try a subfolder or a PHP file such as or If I try a first-level folder (i e located in webroot/myapp) I get only When I try to access any of my own folders in the webroot I get forbidden: Lsof -I tcp:80 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME Someone else seems to have had this same issue a month back ( Can't connect to port 80 in MAMP on MAc) with no solution. Change the port back to 8888 and it works fine. The result was that no resource could be accessed, everything was forbidden. I changed it back to port 80 which is what I had on MAMP on my old machine, and I have some absolute dev links so I don't want the hassle of putting localhost:8888 instead of just localhost at the beginning of my Uri:s I like to use MAMP for my general local environment (simpler projects) but for some reason, the recent version of MAMP wants me to use port 8888 for my localhost. I just moved my dev environment from an older machine to a new MAC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |