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

修改etc/hosts无法在naiveproxy下生效 #571

Closed
xx-li opened this issue Sep 25, 2023 · 3 comments
Closed

修改etc/hosts无法在naiveproxy下生效 #571

xx-li opened this issue Sep 25, 2023 · 3 comments

Comments

@xx-li
Copy link

xx-li commented Sep 25, 2023

环境

问题

修改vps的etc/hosts, 添加一行'172.31.255.2 chat.openai.com',在vps上执行ping后可以看到hosts修改已经生效。但是通过client代理访问时,hosts修改未生效,请问我应该如何处理,让naiveproxy代理时,特定的域名走特定的IP进行访问?
之前怀疑是caddy server的问题,已经重启了vps,还是不行。

同时看到有人提类似问题:#565

@orangeByte
Copy link

+1
我也遇到了这个问题

@klzgrad
Copy link
Owner

klzgrad commented Oct 13, 2023

@klzgrad klzgrad closed this as completed Oct 13, 2023
@klzgrad
Copy link
Owner

klzgrad commented Oct 17, 2023

Duplicate of #577

@klzgrad klzgrad marked this as a duplicate of #577 Oct 17, 2023
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

3 participants