The ERR_CONNECTION_REFUSED error is a common issue that occurs when a website or local server is inaccessible. This error indicates that the Apache server has refused the connection attempt, and it can be caused by various factors.
One possible cause is a hard shutdown of a macOS computer. When a macOS computer is forcibly turned off, all running processes, including Apache, are immediately terminated. This is because a hard shutdown bypasses the normal shutdown procedure, which allows the operating system to properly close running applications and services. As a result, Apache may not be able to restart automatically, leading to a connection refusal when you try to access the server again.
Continue reading “macOS, Apache and ERR_CONNECTION_REFUSED fix”