{"action":"created","issue":{"url":"https://api.github.com/repos/Bobris/Nowin/issues/23","labels_url":"https://api.github.com/repos/Bobris/Nowin/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Bobris/Nowin/issues/23/comments","events_url":"https://api.github.com/repos/Bobris/Nowin/issues/23/events","html_url":"https://github.com/Bobris/Nowin/pull/23","id":56826674,"number":23,"title":"Made server creation call SetEndpoint","user":{"login":"jchannon","id":105126,"avatar_url":"https://avatars.githubusercontent.com/u/105126?v=3","gravatar_id":"","url":"https://api.github.com/users/jchannon","html_url":"https://github.com/jchannon","followers_url":"https://api.github.com/users/jchannon/followers","following_url":"https://api.github.com/users/jchannon/following{/other_user}","gists_url":"https://api.github.com/users/jchannon/gists{/gist_id}","starred_url":"https://api.github.com/users/jchannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchannon/subscriptions","organizations_url":"https://api.github.com/users/jchannon/orgs","repos_url":"https://api.github.com/users/jchannon/repos","events_url":"https://api.github.com/users/jchannon/events{/privacy}","received_events_url":"https://api.github.com/users/jchannon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T15:36:26Z","updated_at":"2015-02-06T16:12:19Z","closed_at":"2015-02-06T16:12:06Z","pull_request":{"url":"https://api.github.com/repos/Bobris/Nowin/pulls/23","html_url":"https://github.com/Bobris/Nowin/pull/23","diff_url":"https://github.com/Bobris/Nowin/pull/23.diff","patch_url":"https://github.com/Bobris/Nowin/pull/23.patch"},"body":"I was using the sample on the README but I wanted to set it to be only 127.0.0.1. `netstat -a` showed the port was available on all ip addresses `0.0.0.0:1926` by default and even when I added a Url it was still on  `0.0.0.0:1926` and it was because only `SetPort` was being called.  With this change `netstat` shows that its listening on the IP specified\r\n\r\nFor example,\r\n\r\n            var opts = new StartOptions()\r\n            {\r\n                ServerFactory = \"Nowin\",\r\n                Urls = { \"http://127.0.0.1:1926\"}\r\n            };\r\n            using (WebApp.Start<Startup>(opts))\r\n            {\r\n\r\n                Console.WriteLine(\"Started on \");\r\n                Console.ReadKey();\r\n            }\r\n               "},"comment":{"url":"https://api.github.com/repos/Bobris/Nowin/issues/comments/73261488","html_url":"https://github.com/Bobris/Nowin/pull/23#issuecomment-73261488","issue_url":"https://api.github.com/repos/Bobris/Nowin/issues/23","id":73261488,"user":{"login":"Bobris","id":284414,"avatar_url":"https://avatars.githubusercontent.com/u/284414?v=3","gravatar_id":"","url":"https://api.github.com/users/Bobris","html_url":"https://github.com/Bobris","followers_url":"https://api.github.com/users/Bobris/followers","following_url":"https://api.github.com/users/Bobris/following{/other_user}","gists_url":"https://api.github.com/users/Bobris/gists{/gist_id}","starred_url":"https://api.github.com/users/Bobris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bobris/subscriptions","organizations_url":"https://api.github.com/users/Bobris/orgs","repos_url":"https://api.github.com/users/Bobris/repos","events_url":"https://api.github.com/users/Bobris/events{/privacy}","received_events_url":"https://api.github.com/users/Bobris/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T16:12:19Z","updated_at":"2015-02-06T16:12:19Z","body":"Cool thanks."}}