本文介绍了MAMP临:阿帕奇无法启动,因为该端口已在使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试启动我的服务器,Apache的启动失败,并MAMP声称端口([:]:8888)已在使用。

When attempting to start my servers, Apache fails to start, and MAMP claims that the port ([::]:8888) is already in use.

我已经试过几乎所有的方式,我知道确定哪些进程正在使用该端口(以及许多对SO pviously所列方案$ P $的),但我没有得到任何结果。无论是lsof的或有关端口netstat的8888名单东西似乎没有使用此端口在所有是任何东西。

I have tried virtually every way I know of determining what process is using that port (as well as many of the solutions previously listed on SO), but I get no results. Neither lsof or netstat list anything about port 8888. There does not appear to be anything using this port at all.

我需要或者改善我的搜索和查找(如果有的话)是真正使用的端口,或以某种方式说服MAMP该端口并非实际使用。有什么建议?

I need to either improve my search and find what(if anything) is really using the port, or somehow convince MAMP that the port is not actually in use. Any suggestions?

编辑:端口更改为8887允许Apache的启动。这不会改变,没有什么使用端口8888的事实,它应该与该端口的工作。

Changing the port to 8887 allows Apache to start. This doesn't change the fact that nothing is using port 8888 and it should work with that port.

推荐答案

尝试去活动监控和搜索在mysqld和httpd和结束的进程他们。然后重新启动毫安。

Try going to activity monitor and searching for Mysqld and Httpd and end any processes for them. Then restart Mamp.

这篇关于MAMP临:阿帕奇无法启动,因为该端口已在使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 18:53