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

如何把监听的地址改为127.0.0.1? #1

Closed
luckypoem opened this issue Aug 20, 2019 · 1 comment
Closed

如何把监听的地址改为127.0.0.1? #1

luckypoem opened this issue Aug 20, 2019 · 1 comment

Comments

@luckypoem
Copy link

hi.

[root@host go-https-proxy-by-crabkun]# ./go-https-proxy-by-crabkun
2019/08/20 15:59:16 listen at [::]:9070

谢谢

@crabkun
Copy link
Owner

crabkun commented Sep 26, 2019

你好
把代码里面的
net.Listen("tcp",":8080")
改为
net.Listen("tcp","127.0.0.1:8080")

@crabkun crabkun closed this as completed Sep 26, 2019
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

2 participants