Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

.dev domains are not working in El Capitan #532

Open
jspooner opened this issue Jun 27, 2016 · 12 comments
Open

.dev domains are not working in El Capitan #532

jspooner opened this issue Jun 27, 2016 · 12 comments

Comments

@jspooner
Copy link

jspooner commented Jun 27, 2016

I'm getting a connection refused error when trying to access a .dev domain

curl http://app.dev/ --verbose
*   Trying 127.0.0.1...
* connect to 127.0.0.1 port 80 failed: Connection refused
* Failed to connect to app.dev port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to app.dev port 80: Connection refused


I found a similar issue but these solutions did not work.
#415

@KazW
Copy link

KazW commented Jun 27, 2016

I ran into this recently on a new macbook... Turns out I forgot to run one of the daemons: sudo launchctl load -w /Library/LaunchDaemons/cx.pow.firewall.plist

@attilagyorffy
Copy link

@jspooner I'm successfully running pow on El Capitan, version 10.11.5 without any problems. You may need to verify whether the pow daemon is running. A ps aux | grep -i pow might help.

@joshuaswilcox
Copy link

I have a similar issue on macOS public beta. They stopped working after the last beta update. It is running:

josh            68434   0.0  0.2  3057584  32188   ??  S     9:21PM   0:00.20 pow

but I get

@Josh ➜  ~ rvm:(ruby-2.1.5)  curl http://admin.ahbwellnessportal.dev --verbose
* Rebuilt URL to: http://admin.ahbwellnessportal.dev/
*   Trying 127.0.0.1...
* connect to 127.0.0.1 port 80 failed: Connection refused
* Failed to connect to admin.ahbwellnessportal.dev port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to admin.ahbwellnessportal.dev port 80: Connection refused

@joshuaswilcox
Copy link

Got it working again with:

sudo pfctl -f /etc/pf.conf; sudo pfctl -e

@Loremaster
Copy link

@joshuaswilcox Thank you very much for that! It was broken for me and it looks like it happened after upgrading to newer version of El Capitan (10.11.6). This fixed it!

@DarthMike
Copy link

Thanks @joshuaswilcox Fixed it for me too!

@bradens
Copy link

bradens commented Nov 11, 2016

What is going on here. That fix worked for me but i'd like to know why haha.

@dombarnes
Copy link

dombarnes commented Jan 10, 2017

@bradens running man pfctl kinda answers that
pfctl -f /etc/pf.conf is load rules from the given file
pfctl -e just enables the packet filter
/etc/pf.conf is probably the stock macOS one

@Frank004
Copy link

@joshuaswilcox this work for me. great

@alistairholt
Copy link

This is getting really annoying to deal with. Does anyone know why it's broken? I'm on macOS 10.12.5. I've tried reinstalling Pow with no success. I have to run sudo pfctl -f /etc/pf.conf; sudo pfctl -e every time I reboot.

@ngoue
Copy link

ngoue commented Nov 6, 2017

I'm with @alistairholt – not sure what needs to change, but I don't like having to lookup this pfctl command every time I reboot.

@alistairholt
Copy link

@ngoue I've since switched to https://github.com/puma/puma-dev.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests