tim*_*son 5 macos firewall localhost nginx
我的应用程序通过我的 mac 上的 nginx 在本地主机端口 80 上运行了很长一段时间。最近我做了一些软件更新,并试图在不同的端口上运行其他应用程序,现在我无法在 localhost:80 上运行我的第一个应用程序。
我对从哪里开始感到非常困惑,但认为这是基于以下内容的防火墙问题:
Tims-MacBook-Pro-2:html TimPeterson$ telnet localhost 80
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
Run Code Online (Sandbox Code Playgroud)
指向浏览器http://localhost给出这个Oops! Google Chrome could not connect to localhost
想法?
你可能想跑
apachectl configtest
Run Code Online (Sandbox Code Playgroud)
第一的。
| 归档时间: |
|
| 查看次数: |
18376 次 |
| 最近记录: |