{"id":10371,"date":"2025-06-13T19:07:05","date_gmt":"2025-06-13T18:07:05","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?p=10371"},"modified":"2025-06-13T22:07:49","modified_gmt":"2025-06-13T21:07:49","slug":"rare-port-conflicts-with-win11-services-stealing-apache-port-80","status":"publish","type":"post","link":"https:\/\/stevepedwards.today\/DebianAdmin\/rare-port-conflicts-with-win11-services-stealing-apache-port-80\/","title":{"rendered":"Rare Port Conflicts with Win11 Services Stealing Apache Port 80 on Bootup"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10371\" class=\"pvc_stats all  \" data-element-id=\"10371\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>NO APACHE CONF CHANGE - a working windows arbitrary binding to NOT port 80_<br \/>\nYou're providing excellent diagnostic information!<\/p>\n<p>PS C:\\WINDOWS\\system32&gt; netsh http show servicestate<\/p>\n<p>Snapshot of HTTP service state (Server Session View):<br \/>\n-----------------------------------------------------<\/p>\n<p>Server session ID: FF00000710000001<br \/>\nVersion: 2.0<br \/>\nState: Active<br \/>\nProperties:<br \/>\nMax bandwidth: 4294967295<br \/>\nTimeouts:<br \/>\nEntity body timeout (secs): 120<br \/>\nDrain entity body timeout (secs): 120<br \/>\nRequest queue timeout (secs): 120<br \/>\nIdle connection timeout (secs): 120<br \/>\nHeader wait timeout (secs): 120<br \/>\nMinimum send rate (bytes\/sec): 150<br \/>\nURL groups:<br \/>\nURL group ID: FE00000720000001<br \/>\nState: Active<br \/>\nRequest queue name: Request queue is unnamed.<br \/>\nProperties:<br \/>\nMax bandwidth: inherited<br \/>\nMax connections: inherited<br \/>\nTimeouts:<br \/>\nTimeout values inherited<br \/>\nNumber of registered URLs: 1<br \/>\nRegistered URLs:<br \/>\nHTTP:\/\/*:5357\/E1EAEFA8-855C-4CCE-A0CE-A8BD00F42C40\/<\/p>\n<p>Request queues:<br \/>\nRequest queue name: Request queue is unnamed.<br \/>\nVersion: 2.0<br \/>\nState: Active<br \/>\nRequest queue 503 verbosity level: Basic<br \/>\nMax requests: 1000<br \/>\nActive requests: 0<br \/>\nQueued requests: 0<br \/>\nMax queued request age: 0s<br \/>\nRequests arrived: 9<br \/>\nRequests rejected: 0<br \/>\nCache hits: 0<br \/>\nNumber of active processes attached: 1<br \/>\nProcesses:<br \/>\nID: 12340, image: C:\\Windows\\System32\\svchost.exe<br \/>\nServices: FDResPub<br \/>\nTagged Service: FDResPub<br \/>\nRegistered URLs:<br \/>\nHTTP:\/\/*:5357\/E1EAEFA8-855C-4CCE-A0CE-A8BD00F42C40\/<\/p>\n<p>This output from netsh http show servicestate is very insightful because it shows the current state when Apache is working correctly.<\/p>\n<p>What this output tells us is:<\/p>\n<p>HTTP.sys is active: Yes, the HTTP Service (HTTP.sys) is running on your system.<br \/>\nIt's being used by FDResPub: The Function Discovery Resource Publication service (PID 4404 svchost.exe) is indeed using HTTP.sys.<br \/>\nCrucially, HTTP.sys is currently listening on port 5357, NOT port 80. The URL shown is HTTP:\/\/*:5357\/E1EAEFA8-855C-4CCE-A0CE-A8BD00F42C40\/.<br \/>\nThis confirms that when your system is in a \"working config\" state (Apache is running), HTTP.sys is not the component occupying port 80. The FDResPub service relies on HTTP.sys, but it's using a different port (5357), which is standard for mDNS\/SSDP-related discovery protocols.<\/p>\n<p>Therefore, the intermittent problem where svchost.exe (PID 1908 in your previous netstat output) claims port 80 is caused by a different component or service that also uses HTTP.sys but only sometimes registers itself on port 80.<\/p>\n<p>The Plan Remains:<br \/>\nThe most effective way to identify the exact intermittent culprit is to capture the netsh http show servicestate output at the precise moment Apache fails to start due to port 80 being in use.<\/p>\n<p>Continue using Apache on port 80 as you are now.<br \/>\nThe very next time Apache fails to start with the error \"AH00072: make_sock: could not bind to address [::]\", immediately (before doing anything else like rebooting):<br \/>\nOpen an Administrator Command Prompt or PowerShell (Admin).<br \/>\nRun: netsh http show servicestate<br \/>\nThis output will be critical. It should show an HTTP:\/\/*:80\/ listener, and hopefully, tell us the Process ID and possibly the Process name or Services associated with that specific port 80 binding at that moment.<br \/>\nThis will give us the definitive answer as to what Windows component is intermittently claiming port 80, allowing us to then look into configuring that specific component to use a different port, or disabling it if it's not essential.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_10371\" class=\"pvc_stats all  \" data-element-id=\"10371\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>NO APACHE CONF CHANGE - a working windows arbitrary binding to NOT port 80_ You're providing excellent diagnostic information! PS C:\\WINDOWS\\system32&gt; netsh http show servicestate Snapshot of HTTP service state (Server Session View): ----------------------------------------------------- Server session ID: FF00000710000001 Version: 2.0 State: Active Properties: Max bandwidth: 4294967295 Timeouts: Entity body timeout (secs): 120 Drain entity body <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/rare-port-conflicts-with-win11-services-stealing-apache-port-80\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 Rare Port Conflicts with Win11 Services Stealing Apache Port 80 on Bootup<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10371","post","type-post","status-publish","format-standard","hentry","category-post"],"a3_pvc":{"activated":true,"total_views":1,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/10371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=10371"}],"version-history":[{"count":3,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/10371\/revisions"}],"predecessor-version":[{"id":10374,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/10371\/revisions\/10374"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=10371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/categories?post=10371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/tags?post=10371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}