Aha! Don't I feel like a fool. The problems I was having were caused by the Norton internet security product installed on this (not my own) machine. After disabling them it all worked as expected.