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

Pow sites require net access (DNS) #249

Closed
briandoll opened this issue Nov 19, 2011 · 3 comments
Closed

Pow sites require net access (DNS) #249

briandoll opened this issue Nov 19, 2011 · 3 comments

Comments

@briandoll
Copy link

I noticed that Pow-hosted sites don't immediately work in the browser when you're offline. Adding a specific entry to your hosts file will enable that specific site, but then you're mucking around in your hosts file for every name.dev site.

I wonder if there is a way (firewall rule perhaps?) to bind *.dev to 127.0.0.1 during the Pow install? Unfortunately you can't use wildcards in /etc/hosts files.

@josephers
Copy link

There's a workaround to create an ad hoc network, with issue #104.

But I think that's rather ugly.

@dlee
Copy link

dlee commented May 31, 2012

I often run into this. What's the underlying cause, and how does a /etc/hosts entry or an ad hoc network work around this?

@sstephenson
Copy link
Contributor

Yeah, this really sucks. It seems to be a limitation of OS X that we can't do anything about. Possibly some optimization that disables name resolution when you don't have an active network link.

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

4 participants