{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/428","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/428/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/428/events","html_url":"https://github.com/dotnet/corefx/issues/428","id":54508261,"number":428,"title":"System.Net.HttpListener binds port by System process","user":{"login":"peter-volkov","id":5512671,"avatar_url":"https://avatars.githubusercontent.com/u/5512671?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-volkov","html_url":"https://github.com/peter-volkov","followers_url":"https://api.github.com/users/peter-volkov/followers","following_url":"https://api.github.com/users/peter-volkov/following{/other_user}","gists_url":"https://api.github.com/users/peter-volkov/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-volkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-volkov/subscriptions","organizations_url":"https://api.github.com/users/peter-volkov/orgs","repos_url":"https://api.github.com/users/peter-volkov/repos","events_url":"https://api.github.com/users/peter-volkov/events{/privacy}","received_events_url":"https://api.github.com/users/peter-volkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T21:42:05Z","updated_at":"2015-01-15T21:49:01Z","closed_at":null,"body":"Reposting from https://github.com/pfn/keepasshttp/issues/195\r\n\r\nCode snippet \r\n\r\n        HttpListener listener = new HttpListener();\r\n        listener.Prefixes.Add(\"http://localhost:18888/\");\r\n        MessageBox.Show(Process.GetCurrentProcess().Id.ToString());\r\n        listener.Start();\r\n        MessageBox.Show(Process.GetCurrentProcess().Id.ToString());\r\n\r\nat my windows 8.1 pro with latest updates somehow binds port 18888 by System process (PID 4) instead of application process. So other apps can not interact with it.\r\n\r\nBoth messageboxes show correct PID of application.\r\n\r\nWhat's wrong?"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/70168581","html_url":"https://github.com/dotnet/corefx/issues/428#issuecomment-70168581","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/428","id":70168581,"user":{"login":"justinvp","id":710598,"avatar_url":"https://avatars.githubusercontent.com/u/710598?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvp","html_url":"https://github.com/justinvp","followers_url":"https://api.github.com/users/justinvp/followers","following_url":"https://api.github.com/users/justinvp/following{/other_user}","gists_url":"https://api.github.com/users/justinvp/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvp/subscriptions","organizations_url":"https://api.github.com/users/justinvp/orgs","repos_url":"https://api.github.com/users/justinvp/repos","events_url":"https://api.github.com/users/justinvp/events{/privacy}","received_events_url":"https://api.github.com/users/justinvp/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T21:49:01Z","updated_at":"2015-01-15T21:49:01Z","body":"Isn't this by-design? [`HttpListener`](http://msdn.microsoft.com/en-us/library/ms229710(v=vs.110).aspx) is built on top of HTTP.sys, which is the kernel mode listener that handles all HTTP traffic for Windows."}}