{"action":"created","issue":{"url":"https://api.github.com/repos/aelsabbahy/goss/issues/215","repository_url":"https://api.github.com/repos/aelsabbahy/goss","labels_url":"https://api.github.com/repos/aelsabbahy/goss/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/aelsabbahy/goss/issues/215/comments","events_url":"https://api.github.com/repos/aelsabbahy/goss/issues/215/events","html_url":"https://github.com/aelsabbahy/goss/issues/215","id":217471740,"number":215,"title":"dgoss add port in tomcat images shows not listening even though the port is listening","user":{"login":"frezbo","id":18496730,"avatar_url":"https://avatars3.githubusercontent.com/u/18496730?v=3","gravatar_id":"","url":"https://api.github.com/users/frezbo","html_url":"https://github.com/frezbo","followers_url":"https://api.github.com/users/frezbo/followers","following_url":"https://api.github.com/users/frezbo/following{/other_user}","gists_url":"https://api.github.com/users/frezbo/gists{/gist_id}","starred_url":"https://api.github.com/users/frezbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frezbo/subscriptions","organizations_url":"https://api.github.com/users/frezbo/orgs","repos_url":"https://api.github.com/users/frezbo/repos","events_url":"https://api.github.com/users/frezbo/events{/privacy}","received_events_url":"https://api.github.com/users/frezbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-28T07:33:24Z","updated_at":"2017-03-28T17:02:35Z","closed_at":null,"body":"```\r\ndocker pull tomcat:alpine\r\ndgoss edit -p 8080:8080 tomcat:alpine\r\n```\r\n\r\n```\r\nINFO: Starting docker container\r\nINFO: Container ID: de8ef54c\r\nINFO: Run goss add/autoadd to add resources\r\n/goss # goss add port 8080\r\nAdding Port to './goss.yaml':\r\n\r\ntcp:8080:\r\n  listening: false\r\n  ip: []\r\n\r\n\r\n/goss # netstat -tlnp\r\nActive Internet connections (only servers)\r\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    \r\ntcp        0      0 :::8080                 :::*                    LISTEN      1/java\r\ntcp        0      0 ::ffff:127.0.0.1:8005   :::*                    LISTEN      1/java\r\ntcp        0      0 :::8009                 :::*                    LISTEN      1/java\r\n/goss # wget http://localhost:8080\r\nConnecting to localhost:8080 (127.0.0.1:8080)\r\nindex.html           100% |*******************************| 11230   0:00:00 ETA\r\n/goss # \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aelsabbahy/goss/issues/comments/289836836","html_url":"https://github.com/aelsabbahy/goss/issues/215#issuecomment-289836836","issue_url":"https://api.github.com/repos/aelsabbahy/goss/issues/215","id":289836836,"user":{"login":"aelsabbahy","id":6783261,"avatar_url":"https://avatars1.githubusercontent.com/u/6783261?v=3","gravatar_id":"","url":"https://api.github.com/users/aelsabbahy","html_url":"https://github.com/aelsabbahy","followers_url":"https://api.github.com/users/aelsabbahy/followers","following_url":"https://api.github.com/users/aelsabbahy/following{/other_user}","gists_url":"https://api.github.com/users/aelsabbahy/gists{/gist_id}","starred_url":"https://api.github.com/users/aelsabbahy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelsabbahy/subscriptions","organizations_url":"https://api.github.com/users/aelsabbahy/orgs","repos_url":"https://api.github.com/users/aelsabbahy/repos","events_url":"https://api.github.com/users/aelsabbahy/events{/privacy}","received_events_url":"https://api.github.com/users/aelsabbahy/received_events","type":"User","site_admin":false},"created_at":"2017-03-28T17:02:35Z","updated_at":"2017-03-28T17:02:35Z","body":"Sure. For what it's worth, netstat on busybox looks like a dead end.\r\n\r\nThink it prints \"tcp\" for both tcp and tcp6:\r\nhttp://code.metager.de/source/xref/busybox/networking/netstat.c\r\n\r\nSort of, kind of, maybe related  (Or not, but interesting read):\r\nhttps://github.com/golang/go/issues/1854\r\n\r\nI think `ss` handles this correctly, but I haven't verified it or figured out why.\r\n\r\nMore interesting read: https://tools.ietf.org/html/rfc3493#section-3.7"}}
{"actor":{"display_login":"aelsabbahy"}}