Long delay on contacting service on localhost using /etc/hosts entry
Fresh3 days ago
Mar 15, 20261448 viewsConfidence Score0%
0%
Problem
I have a web server running on my local machine and when I perform a cURL request against it using the address it executes very fast. However, when I add an /etc/hosts like and then perform the same cURL request: it delays for a solid 2-3 seconds. Changing the cURL request back to again yields no d…
Error Output
localhost
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Long delay on contacting service on localhost using /etc/hosts entry
Low Risk
Ok, I figured it out. I found this comment on a blog post: The matter is Lion handles .local TLD differently because it’s reserved for some Multicast DNS features (used by Bonjour). The only way i found to solve this issue is using a different TLD f…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix