Localhost doesn't work

Question
Specifying localhost doesn't seem to work, even though I know my server is listening.

Answer
Try  instead of localhost. Later versions of Windows resolve localhost to, the IPv6 loopback address, instead of  , the IPv4 loopback address.

Applications such as Hercules apparently listen on  (and not on  ), so localhost will not work for them.