Interview Prep/Networking/Connectivity: refused, timed out, no route

`curl: (52) Empty reply from server`

IntermediateTroubleshootingConnectivity: refused, timed out, no route
Answer

Likely causes → TCP connected but the server closed without sending any HTTP response: speaking HTTP to a TLS port, app crashed on the request, or a proxy dropped it.

Diagnose →

curl -v http://host:443/        # plain HTTP to a TLS port often gives this
curl -vk https://host:443/
journalctl -u myapp -n 50

Fix → Use the right scheme for the port, or fix the crashing handler.

Prevent → Separate ports cleanly (80 plain, 443 TLS) and log request start in the app.

All Networking questions Roadmap: Networking for DevOps

More on Connectivity: refused, timed out, no route