Dns 卸载OS X Yosemite上的pow

Dns 卸载OS X Yosemite上的pow,dns,port,hosts,rack-pow,Dns,Port,Hosts,Rack Pow,我在OS X Yosemite上使用主控头的uninstall.sh安装并卸载了pow,但是我仍然无法解析.dev顶级域。我有一个带有以下条目的/etc/hosts文件: 0.0.0.0 myapp.dev 但是,当我执行curl-v mayapp.dev时,我会得到以下输出 * Rebuilt URL to: mayapp.dev * Hostname was NOT found in DNS cache % Total % Received % Xferd Average Spee

我在OS X Yosemite上使用主控头的uninstall.sh安装并卸载了pow,但是我仍然无法解析.dev顶级域。我有一个带有以下条目的/etc/hosts文件:

0.0.0.0 myapp.dev
但是,当我执行curl-v mayapp.dev时,我会得到以下输出

* Rebuilt URL to: mayapp.dev
* Hostname was NOT found in DNS cache
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying     127.0.0.1...
* connect to 127.0.0.1 port 80 failed: Connection refused
*   Trying 0.0.0.0...
* connect to 0.0.0.0 port 80 failed: Connection refused
* Failed to connect to mayapp.dev port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to mayapp.dev port 80: Connection refused

过去情况并非如此。此外,我还使用haproxy将流量从端口80路由到非限制端口。有什么想法吗?

这可能是新版本的node没有接受传入连接的权限的问题。解决此问题的一种方法是重新启动系统,然后会出现权限框,只需按“允许”,它就会被修复。

看起来您正在解析域。您无法连接到端口80。要么是服务没有运行,要么是防火墙挡住了去路。