There could be many possibilities but the first one I thought of is that the client just sometimes gets confused about where it last found the server. You can go into User Preferences, choose the Ports tab, and from there start a Trace (button on the right side of the panel). If you have any...