Webrick on XP: starts OK then hangs on first request?
I had this problem and found the solution:
netsh winsock reset
here: http://www.db75.com/new_blog/?p=249
If anyone knows how to get XP to un-confuse itself without requiring a reboot, then it would be good to know.