Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignoring /etc/hosts file #32

Open
cbetta opened this issue Oct 26, 2011 · 10 comments
Open

Ignoring /etc/hosts file #32

cbetta opened this issue Oct 26, 2011 · 10 comments

Comments

@cbetta
Copy link

cbetta commented Oct 26, 2011

Not sure if this is inherent to how proxies work, but when I connect it seems to ignore any records in my /etc/hosts file. As a developer I kind of need those and it's now a choice between hosts file and secure proxy :/

@sillygwailo
Copy link

Take a look at the pull request at #30

I use a custom TLD for my local development (currently .lallafa). If you look at /Applications/Sidestep.app/Contents/Resources/TurnProxyOn.sh you can add the TLD (or whatever you're calling your hostname if it's not 'localhost') to the list near the bottom of the file. So in my case, just before *.local I added *.lallafa.

@AaronHolbrook
Copy link

I see #30 - but unfortunately it's still redirecting localhost, 127.0.0.1 and a custom *.dev network that I added.

I restarted the program and turned the proxy on and off, but no change, it's still acting like my 'localhost' is the localhost of the machine I'm proxied on to!

@honza
Copy link

honza commented Mar 18, 2013

Bump. This is a pretty big problem for me. I'm not really sure how this happens. I'm happy to help in any way I can (not an OSX dev though).

@unbracketed
Copy link

@AaronHolbrook @honza I was having the same problem and worked around it by editing the system proxy settings (Network -> select device -> Advanced -> Proxies -> Bypass proxy settings)

@dcalhoun
Copy link

dcalhoun commented May 2, 2013

@unbracketed's solution seems to have worked for me. Thanks!

@AaronHolbrook
Copy link

@unbracketed yup - that also works for me! Thanks @unbracketed!

@honza
Copy link

honza commented Jul 30, 2013

@unbracketed Yes, that works for me, too. Thanks

@jkintscher
Copy link

@unbracketed Thanks for the tip, worked well for me on 10.9.2 and saved me quite a bit of hassle.

@dbishoponline
Copy link

@unbracketed years later.... thank you :)

@allendav
Copy link

allendav commented Apr 5, 2017

@unbracketed even more years later - thank you :)

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

No branches or pull requests

9 participants