Mac上nginx上的PHP应用程序上的连接被拒绝 [英] Connection refused on PHP application on nginx on my Mac

查看:118
本文介绍了Mac上nginx上的PHP应用程序上的连接被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在本地主机上运行的 nginx应用,现在我不能再访问它了.我真的不知道如何诊断问题.

I have an nginx app that was running on localhost and now I can no longer access it. I'm truly at a loss for how to diagnose the problem.

我调查过的一些事情

  • TimPeterson$ sudo lsof -i :80->显示大量内容,但没有什么看起来像我的应用
  • 系统偏好设置->共享->切换网络共享"->没有帮助
  • TimPeterson$ sudo lsof -i :80 ->shows tons of stuff, but nothing that looks like my app
  • System Preferences -> sharing ->toggle "web sharing" -> doesn't help

我并不是一个完全的菜鸟,因为我已经将该服务器运行了一年以上,但是显然我做了一些事情或某些软件更新限制了部分配置.

I'm not a total noob in that I've had this server running for over a year but obviously I did something or some software update jacked some part of the configuration.

推荐答案

您将需要检查错误日志中与nginx相关的任何内容. MNPP似乎在/Applications/MNPP/Library/nginx中安装了nginx.

You'll want to check the error log for anything related to nginx. MNPP appears to install nginx in /Applications/MNPP/Library/nginx.

这篇关于Mac上nginx上的PHP应用程序上的连接被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆