关于golang:Golang使用RemoteAddr获取远程主机地址的注意事项

2次阅读

共计 191 个字符,预计需要花费 1 分钟才能阅读完成。

获取客户端的地址和端口号

获取近程主机地址的注意事项参考博客

https://www.dyxmq.cn/program/code/golang/golang-http-request-remote-addr-questions.html

https://www.dyxmq.cn/network/http-x-real-ip-x-forwarded-for-remoteaddr.html

正文完
 0