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

[ERROR] listen tcp: address XXXX: missing port in address #8

Open
zaco-chen opened this issue Oct 17, 2023 · 2 comments
Open

[ERROR] listen tcp: address XXXX: missing port in address #8

zaco-chen opened this issue Oct 17, 2023 · 2 comments

Comments

@zaco-chen
Copy link

zaco-chen commented Oct 17, 2023

您好
目前在example底下执行go run main.go -c deny.json -d 时
都会出现下列讯息:
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on XXXX
[GIN-debug] [ERROR] listen tcp: address XXXX: missing port in address

请问该如何解决呢?
谢谢

@x1ah
Copy link
Collaborator

x1ah commented Oct 17, 2023

@zaco-chen
Copy link
Author

主要是会出现下面那两行错误
[GIN-debug] Listening and serving HTTP on XXXX
[GIN-debug] [ERROR] listen tcp: address XXXX: missing port in address

且执行后,不管是用allow.json还是deny.json,在我的IP没有设定deny的状况下
都会回传403 [KRAKEND] ERROR: krakend-ipfilter deny request from
相同的配置(除了version) 在上一版没有这个状况发生
再麻煩協助查看,謝謝您

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