try connecting to $SERVER, and not the hardcoded client IP... :-/