Originally Posted by
dream_noir
If the hostname your using is localhost then you aren't connecting across a network, you are trying to connect to the computer you're currently on. More information would be good, but if you don't have the client/server both running on your local computer and your trying to connect to localhost then well, it just won't work.