Localhost Doctor

v0.1.0
io.github.Jazzfer-2003/localhost-doctor Checked 1 day ago Published 1 month ago

Diagnoses broken XAMPP/WAMP localhost stacks: port conflicts, crashed Apache/MySQL, error logs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

diagnose_stack

Full health check of the local XAMPP/WAMP stack: which stack processes are running, who owns ports 80/8080/443/3306, whether localhost answers HTTP, plus a verdict (healthy / degraded / port conflict) and concrete issues.

check_port

Identify which process is listening on a TCP port (e.g. 80, 8080, 3306) and what that means for the local stack.

ParameterTypeDescription
port *integer

read_error_logs

Read the tail of Apache/MySQL error logs from the detected install and explain error lines via the knowledge base. component: 'apache', 'mysql' or 'all'.

ParameterTypeDescription
componentstring
tailinteger

explain_symptom

Explain a localhost symptom or error message. Paste the raw error text, e.g. 'localhost refused to connect' or 'MySQL shutdown unexpectedly'.

ParameterTypeDescription
text *string