Posted December 14th, 2013 @ 11:08am by Erik J. Barzeski
12/14/13 1:47:37.026 PM mDNSResponder: mDNSPlatformTCPSocket: socket error 0 errno 49 (Can't assign requested address)
12/14/13 1:47:37.026 PM mDNSResponder: MakeTCPConn: unable to create TCP socket
And in CURL:
curl: (7) Failed to connect to 18.104.22.168: Can't assign requested address
Essentially all HTTP requests fail (pings still work).
sudo ifconfig en0 down sudo route flush sudo ifconfig en0 up
Saves me from having to reboot, at least.
P.S. I have no idea what causes this issue. It's occurred twice in the last few months, though.