{"id":54,"date":"2024-02-29T19:22:42","date_gmt":"2024-02-29T19:22:42","guid":{"rendered":"https:\/\/www.kwwd.co.uk\/blog\/?p=54"},"modified":"2024-02-29T19:22:42","modified_gmt":"2024-02-29T19:22:42","slug":"reset-all-tcp-ip-ports","status":"publish","type":"post","link":"https:\/\/www.kwwd.co.uk\/blog\/reset-all-tcp-ip-ports\/","title":{"rendered":"Reset All TCP\/IP Ports"},"content":{"rendered":"<p>I recently started running into a problem when using XAMPP webserver to develop site locally.<\/p>\n<p>Occasionality the MYSQL service wouldn&#8217;t start due to a blocked port. Restarting my PC wouldn&#8217;t clear the port and the service still couldn&#8217;t be started. Sometimes, after leaving the PC off for a bit the problem would solve itself. It&#8217;s not always practical to sit around and wait for the problem to fix itself so the next thing to try is flushing all the TCP\/IP ports to clear up whatever is blocking your MYSQL port.<\/p>\n<p>To do this, search for &#8220;Windows Powershell&#8221;, right-click on it and select &#8220;Run As Administrator&#8221;.<\/p>\n<p>When the Powershell opens, type:<\/p>\n<pre><code class=\"language-php\">netsh int ip reset<\/code><\/pre>\n<p>And hit &#8220;Enter&#8221;<\/p>\n<p>This will then flush your ports. Restart the PC to complete the process and you should now be able to run MYSQL without the port issue cropping up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently started running into a problem when using XAMPP webserver to develop site locally. Occasionality the MYSQL service wouldn&#8217;t start due to a blocked [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[25,24,22,21,23],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-misc","tag-errors","tag-mysql","tag-powershell","tag-windows","tag-xampp"],"_links":{"self":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}