{"action":"closed","issue":{"url":"https://api.github.com/repos/astaxie/beego/issues/988","labels_url":"https://api.github.com/repos/astaxie/beego/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/988/comments","events_url":"https://api.github.com/repos/astaxie/beego/issues/988/events","html_url":"https://github.com/astaxie/beego/issues/988","id":53359098,"number":988,"title":"阿里云服务器：不能监听 0.0.0.0 地址","user":{"login":"phpqinsir","id":3759656,"avatar_url":"https://avatars.githubusercontent.com/u/3759656?v=3","gravatar_id":"","url":"https://api.github.com/users/phpqinsir","html_url":"https://github.com/phpqinsir","followers_url":"https://api.github.com/users/phpqinsir/followers","following_url":"https://api.github.com/users/phpqinsir/following{/other_user}","gists_url":"https://api.github.com/users/phpqinsir/gists{/gist_id}","starred_url":"https://api.github.com/users/phpqinsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpqinsir/subscriptions","organizations_url":"https://api.github.com/users/phpqinsir/orgs","repos_url":"https://api.github.com/users/phpqinsir/repos","events_url":"https://api.github.com/users/phpqinsir/events{/privacy}","received_events_url":"https://api.github.com/users/phpqinsir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-05T02:41:51Z","updated_at":"2015-01-10T03:35:44Z","closed_at":"2015-01-10T03:35:44Z","body":"beego通过nginx代理可以正常被外网访问。但是，直接做为服务器，阿里云服务器要求必须监听 0.0.0.0 IP。否则，防火墙开了端口外网也访问不进去请求。\r\n\r\n所以，想问 beego怎样才能监听 0.0.0.0 ip。\r\n\r\n附服务器监听列表：\r\n\r\ntcp        0      0 127.0.0.1:8080              0.0.0.0:*                   LISTEN      3061/./main\r\ntcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      1367/nginx\r\ntcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      1399/vsftpd\r\ntcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      884/sshd\r\n\r\n可以看出我的80、21、22都是监听在0.0.0.0 IP上的。我的beego没办法监听 0.0.0.0。就算把httpaddr设置为0.0.0.0无计于事。\r\n\r\n各位有遇到过这种情况吗？望解决之！！！"}}