我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

狂欢golang请求RemoteAddr始终为127.0.0.1

I just learning about Golang and Revel. And I have problem with the Request.RemoteAddr on the Revel which it always return 127.0.0.1:[port] even the requester is not localhost. Which on godoc the RemoteAddr should the the IP of the requester. Is it expected behaviour? If yes, how I can get the IP of the requester? Another question also maybe you can help me, is it possible to get the os and mac address of the requester?

近期文章

  • CGO二进制文件未在OSX中运行
  • 产生SSH连接,但检查状态?
  • HTTP分块流式传输到WebSocket
  • 在golang中发送phantomjs设置
  • 在GOLang中设置工作区?
  • Go语言构建器/任务运行器
  • 我试图弄清楚如何进行虚拟按键
  • CGO-当c文件位于子文件夹中时,对“…”的未定义引用
  • 找不到Golang大猩猩Mux处理程序无法正常工作
  • 将字符串数组转换为字段名称
  • 使用golang.org/x/net/ipv4进行多播UDP通信
  • 在Unmarshal上突变字符串
  • 我有没有机会将解码json结构附加到go lang中的http.Request变量
  • 如何查找Go标准库函数的可能错误值?
  • 如何在golang中的mongo中将bson.M元素列表组合成单个bson.M?
  • 我该怎么做呢? 获取结构以接口的形式发送到func并将其作为结构返回?
  • 更新go appengine后导入错误
  • 在Go中解析远程json [重复]
  • 使用GO和Upper.IO将记录插入Postgres模式
  • 为选择查询传递可变参数

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华